From afe922f3d9f62716f4e559fb1e374c04afd3db63 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 17 Jul 2011 18:20:57 -0500 Subject: Rename tqsize* to size* --- tqtinterface/qt4/src/dialogs/tqinputdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tqtinterface/qt4/src/dialogs/tqinputdialog.cpp') 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 ); -- cgit v1.2.1