summaryrefslogtreecommitdiffstats
path: root/pytquic3
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-22 15:01:29 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-23 02:57:40 +0100
commit4feca443fb45a87fa971fe7f24c9dd3128643c19 (patch)
treecafb62865ab0f282e8d8a4b0f8765e173e4f36c3 /pytquic3
parent16434e5519f6224e231bc5f7202f0e495eda7bb7 (diff)
downloadpytqt-4feca443fb45a87fa971fe7f24c9dd3128643c19.tar.gz
pytqt-4feca443fb45a87fa971fe7f24c9dd3128643c19.zip
temporary commit to show changes
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'pytquic3')
-rw-r--r--pytquic3/uic.cpp10
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 {