diff options
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqdialog.cpp')
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqdialog.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqdialog.cpp b/tqtinterface/qt4/src/dialogs/tqdialog.cpp index 43db3ca..ef31573 100644 --- a/tqtinterface/qt4/src/dialogs/tqdialog.cpp +++ b/tqtinterface/qt4/src/dialogs/tqdialog.cpp @@ -48,7 +48,7 @@ #include "tqobjectlist.h" #include "tqwidgetlist.h" #include "tqlayout.h" -#include "tqsizegrip.h" +#include "sizegrip.h" #include "tqwhatsthis.h" #include "tqpopupmenu.h" #include "tqcursor.h" @@ -148,7 +148,7 @@ dialog will initially appear as a partial dialog, but with a "More" toggle button. If the user presses the "More" button down, the full dialog will appear. The extension widget will be resized - to its tqsizeHint(). If orientation is \c Horizontal the extension + to its sizeHint(). If orientation is \c Horizontal the extension widget's height() will be expanded to the height() of the dialog. If the orientation is \c Vertical the extension widget's width() will be expanded to the width() of the dialog. Extensibility is @@ -1050,7 +1050,7 @@ void TQDialog::showExtension( bool showIt ) if ( tqlayout() ) tqlayout()->setEnabled( FALSE ); #endif - TQSize s( d->extension->tqsizeHint() + TQSize s( d->extension->sizeHint() .expandedTo( d->extension->tqminimumSize() ) .boundedTo( d->extension->tqmaximumSize() ) ); if ( d->orientation == Qt::Horizontal ) { @@ -1078,18 +1078,18 @@ void TQDialog::showExtension( bool showIt ) /*! \reimp */ -TQSize TQDialog::tqsizeHint() const +TQSize TQDialog::sizeHint() const { if ( d->extension ) { if ( d->orientation == Qt::Horizontal ) - return TQSize( TQWidget::tqsizeHint().width(), - TQMAX( TQWidget::tqsizeHint().height(),d->extension->tqsizeHint().height() ) ); + return TQSize( TQWidget::sizeHint().width(), + TQMAX( TQWidget::sizeHint().height(),d->extension->sizeHint().height() ) ); else - return TQSize( TQMAX( TQWidget::tqsizeHint().width(), d->extension->tqsizeHint().width() ), - TQWidget::tqsizeHint().height() ); + return TQSize( TQMAX( TQWidget::sizeHint().width(), d->extension->sizeHint().width() ), + TQWidget::sizeHint().height() ); } - return TQWidget::tqsizeHint(); + return TQWidget::sizeHint(); } @@ -1150,7 +1150,7 @@ void TQDialog::setSizeGripEnabled(bool enabled) if ( enabled ) { d->resizer = new TQSizeGrip( this, "TQDialog::resizer" ); // adjustSize() processes all events, which is suboptimal - d->resizer->resize( d->resizer->tqsizeHint() ); + d->resizer->resize( d->resizer->sizeHint() ); if ( TQApplication::reverseLayout() ) d->resizer->move( rect().bottomLeft() -d->resizer->rect().bottomLeft() ); else |