summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/dialogs/tqdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/src/dialogs/tqdialog.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/dialogs/tqdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/experimental/tqtinterface/qt4/src/dialogs/tqdialog.cpp b/experimental/tqtinterface/qt4/src/dialogs/tqdialog.cpp
index ef3157341..43db3cad4 100644
--- a/experimental/tqtinterface/qt4/src/dialogs/tqdialog.cpp
+++ b/experimental/tqtinterface/qt4/src/dialogs/tqdialog.cpp
@@ -48,7 +48,7 @@
#include "tqobjectlist.h"
#include "tqwidgetlist.h"
#include "tqlayout.h"
-#include "sizegrip.h"
+#include "tqsizegrip.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 sizeHint(). If orientation is \c Horizontal the extension
+ to its tqsizeHint(). 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->sizeHint()
+ TQSize s( d->extension->tqsizeHint()
.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::sizeHint() const
+TQSize TQDialog::tqsizeHint() const
{
if ( d->extension ) {
if ( d->orientation == Qt::Horizontal )
- return TQSize( TQWidget::sizeHint().width(),
- TQMAX( TQWidget::sizeHint().height(),d->extension->sizeHint().height() ) );
+ return TQSize( TQWidget::tqsizeHint().width(),
+ TQMAX( TQWidget::tqsizeHint().height(),d->extension->tqsizeHint().height() ) );
else
- return TQSize( TQMAX( TQWidget::sizeHint().width(), d->extension->sizeHint().width() ),
- TQWidget::sizeHint().height() );
+ return TQSize( TQMAX( TQWidget::tqsizeHint().width(), d->extension->tqsizeHint().width() ),
+ TQWidget::tqsizeHint().height() );
}
- return TQWidget::sizeHint();
+ return TQWidget::tqsizeHint();
}
@@ -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->sizeHint() );
+ d->resizer->resize( d->resizer->tqsizeHint() );
if ( TQApplication::reverseLayout() )
d->resizer->move( rect().bottomLeft() -d->resizer->rect().bottomLeft() );
else