diff options
Diffstat (limited to 'pytquic3')
-rw-r--r-- | pytquic3/uic.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pytquic3/uic.cpp b/pytquic3/uic.cpp index 8d0613c..f5d5a2b 100644 --- a/pytquic3/uic.cpp +++ b/pytquic3/uic.cpp @@ -828,11 +828,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 ) ); @@ -850,10 +850,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 << " = " << qlayout << "(" << parent << ".layout())" << endl; + out << indent << objName << " = " << tqlayout << "(" << parent << ".layout())" << endl; out << indent << objName << ".setAlignment(TQt.AlignTop)" << endl; } else { - out << indent << objName << " = " << qlayout << "("; + out << indent << objName << " = " << tqlayout << "("; if ( layout.isEmpty() ) out << parent; else { |