diff options
author | Timothy Pearson <[email protected]> | 2011-07-17 19:19:26 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-07-17 19:19:26 -0500 |
commit | 33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd (patch) | |
tree | 4939d6567b50d0dd669257422a6868aa1259e62b /tqtinterface/qt4/tools/designer/uilib/tqwidgetfactory.cpp | |
parent | f01eee0362e54f47d0266295c5263790c04b6510 (diff) | |
download | experimental-33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd.tar.gz experimental-33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd.zip |
Revert "Rename tqsize* to size*"
This reverts commit e33879600503bacc0b4ef090f7f79ab80bb6b0da.
Diffstat (limited to 'tqtinterface/qt4/tools/designer/uilib/tqwidgetfactory.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/designer/uilib/tqwidgetfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/tools/designer/uilib/tqwidgetfactory.cpp b/tqtinterface/qt4/tools/designer/uilib/tqwidgetfactory.cpp index 7b6168d..57ea838 100644 --- a/tqtinterface/qt4/tools/designer/uilib/tqwidgetfactory.cpp +++ b/tqtinterface/qt4/tools/designer/uilib/tqwidgetfactory.cpp @@ -693,7 +693,7 @@ void TQWidgetFactory::inputSpacer( const UibStrTable& strings, TQDataStream& in, if ( name == "orientation" ) { vertical = ( value == "Vertical" ); - } else if ( name == "sizeHint" ) { + } else if ( name == "tqsizeHint" ) { w = value.toSize().width(); h = value.toSize().height(); } else if ( name == "sizeType" ) { @@ -1949,7 +1949,7 @@ void TQWidgetFactory::createSpacer( const TQDomElement &e, TQLayout *tqlayout ) orient = Qt::Vertical; } else if ( prop == "sizeType" ) { sizeType = stringToSizeType( n.firstChild().firstChild().toText().data() ); - } else if ( prop == "sizeHint" ) { + } else if ( prop == "tqsizeHint" ) { w = n.firstChild().firstChild().firstChild().toText().data().toInt(); h = n.firstChild().firstChild().nextSibling().firstChild().toText().data().toInt(); } |