diff options
author | Timothy Pearson <[email protected]> | 2011-07-17 18:20:57 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-07-17 18:20:57 -0500 |
commit | afe922f3d9f62716f4e559fb1e374c04afd3db63 (patch) | |
tree | 9a671bad1056ab07f627f5e8fa774da7002e7b15 /tqtinterface/qt4/src/dialogs/tqinputdialog.cpp | |
parent | 656b2d3e1c0a8d10f19300480f6e797a65381d1e (diff) | |
download | experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.tar.gz experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.zip |
Rename tqsize* to size*
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqinputdialog.cpp')
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqinputdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp b/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp index 951826b..19dad1d 100644 --- a/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp +++ b/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp @@ -152,7 +152,7 @@ TQInputDialog::TQInputDialog( const TQString &label, TQWidget* tqparent, d->ok->setDefault( TRUE ); TQPushButton *cancel = new TQPushButton( tr( "Cancel" ), this, "qt_cancel_btn" ); - TQSize bs = d->ok->tqsizeHint().expandedTo( cancel->tqsizeHint() ); + TQSize bs = d->ok->sizeHint().expandedTo( cancel->sizeHint() ); d->ok->setFixedSize( bs ); cancel->setFixedSize( bs ); @@ -168,7 +168,7 @@ TQInputDialog::TQInputDialog( const TQString &label, TQWidget* tqparent, connect( d->ok, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) ); connect( cancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) ); - TQSize sh = tqsizeHint().expandedTo( TQSize(400, 10) ); + TQSize sh = sizeHint().expandedTo( TQSize(400, 10) ); setType( type ); resize( sh.width(), vbox->heightForWidth(sh.width()) ); } @@ -237,7 +237,7 @@ void TQInputDialog::setType( Type t ) } if ( input ) { d->stack->raiseWidget( input ); - d->stack->setFixedHeight( input->tqsizeHint().height() ); + d->stack->setFixedHeight( input->sizeHint().height() ); input->setFocus(); #ifndef TQT_NO_ACCEL d->label->setBuddy( input ); |