diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-16 19:11:00 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-16 19:11:00 +0900 |
| commit | 82ecd83484c9fa1ede059986ab771e74e33e68ef (patch) | |
| tree | d0e76f19632bb02fc55028625bdb903902e1bac1 /tools/designer/uic/uic.cpp | |
| parent | c55ef27a2c511c29a8a82d00bd2ede1fb02cfa41 (diff) | |
| download | tqt-82ecd834.tar.gz tqt-82ecd834.zip | |
Rename layout nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/designer/uic/uic.cpp')
| -rw-r--r-- | tools/designer/uic/uic.cpp | 10 |
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 { |
