summaryrefslogtreecommitdiffstats
path: root/tools/designer/uic/uic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/uic/uic.cpp')
-rw-r--r--tools/designer/uic/uic.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/uic/uic.cpp b/tools/designer/uic/uic.cpp
index b044649b0..bcd670290 100644
--- a/tools/designer/uic/uic.cpp
+++ b/tools/designer/uic/uic.cpp
@@ -811,11 +811,11 @@ TQString Uic::createLayoutImpl( const TQDomElement &e, const TQString& parentCla
TQString objClass, objName;
objClass = e.tagName();
- TQString qlayout = "TQVBoxLayout";
+ TQString tqlayout = "TQVBoxLayout";
if ( objClass == "hbox" )
- qlayout = "TQHBoxLayout";
+ tqlayout = "TQHBoxLayout";
else if ( objClass == "grid" )
- qlayout = "TQGridLayout";
+ tqlayout = "TQGridLayout";
bool isGrid = e.tagName() == "grid" ;
objName = registerObject( getLayoutName( e ) );
@@ -833,10 +833,10 @@ TQString Uic::createLayoutImpl( const TQDomElement &e, const TQString& parentCla
out << indent << parent << "->setColumnLayout(0, TQt::Vertical );" << endl;
out << indent << parent << "->layout()->setSpacing( " << spacing << " );" << endl;
out << indent << parent << "->layout()->setMargin( " << margin << " );" << endl;
- out << indent << objName << " = new " << qlayout << "( " << parent << "->layout() );" << endl;
+ out << indent << objName << " = new " << tqlayout << "( " << parent << "->layout() );" << endl;
out << indent << objName << "->setAlignment( TQt::AlignTop );" << endl;
} else {
- out << indent << objName << " = new " << qlayout << "( ";
+ out << indent << objName << " = new " << tqlayout << "( ";
if ( layout.isEmpty() )
out << parent;
else {