summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/dialogs/tqdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-17 19:19:26 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-17 19:19:26 -0500
commit33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd (patch)
tree4939d6567b50d0dd669257422a6868aa1259e62b /tqtinterface/qt4/src/dialogs/tqdialog.cpp
parentf01eee0362e54f47d0266295c5263790c04b6510 (diff)
downloadexperimental-33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd.tar.gz
experimental-33d3ec06354d07cbb6164eb1c8adbd89c9ecefdd.zip
Revert "Rename tqsize* to size*"
This reverts commit e33879600503bacc0b4ef090f7f79ab80bb6b0da.
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqdialog.cpp')
-rw-r--r--tqtinterface/qt4/src/dialogs/tqdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqdialog.cpp b/tqtinterface/qt4/src/dialogs/tqdialog.cpp
index ef31573..43db3ca 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 "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