summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/plugins/dlg
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-07-17 19:19:26 -0500
committerTimothy Pearson <[email protected]>2011-07-17 19:19:26 -0500
commit33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd (patch)
tree4939d6567b50d0dd669257422a6868aa1259e62b /tqtinterface/qt4/tools/designer/plugins/dlg
parentf01eee0362e54f47d0266295c5263790c04b6510 (diff)
downloadexperimental-33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd.tar.gz
experimental-33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd.zip
Revert "Rename tqsize* to size*"
This reverts commit e33879600503bacc0b4ef090f7f79ab80bb6b0da.
Diffstat (limited to 'tqtinterface/qt4/tools/designer/plugins/dlg')
-rw-r--r--tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp b/tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp
index 770d3e9..cb71661 100644
--- a/tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp
+++ b/tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp
@@ -555,15 +555,15 @@ bool Dlg2Ui::isWidgetType( const TQDomElement& e )
void Dlg2Ui::emitSpacer( int spacing, int stretch )
{
TQString orientationStr;
- TQSize sizeHint;
+ TQSize tqsizeHint;
TQString sizeType = TQString( "Fixed" );
if ( yyBoxKind == TQString("hbox") ) {
orientationStr = TQString( "Horizontal" );
- sizeHint = TQSize( spacing, 20 );
+ tqsizeHint = TQSize( spacing, 20 );
} else {
orientationStr = TQString( "Vertical" );
- sizeHint = TQSize( 20, spacing );
+ tqsizeHint = TQSize( 20, spacing );
}
if ( stretch > 0 )
sizeType = TQString( "Expanding" );
@@ -573,7 +573,7 @@ void Dlg2Ui::emitSpacer( int spacing, int stretch )
TQString("Spacer%1").arg(uniqueSpacer++).latin1() );
emitProperty( TQString("orientation"), orientationStr, TQString("enum") );
if ( spacing > 0 )
- emitProperty( TQString("sizeHint"), sizeHint, TQString("qsize") );
+ emitProperty( TQString("tqsizeHint"), tqsizeHint, TQString("qsize") );
emitProperty( TQString("sizeType"), sizeType, TQString("enum") );
emitClosing( TQString("spacer") );
}