summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/dialogs/tqprintdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqprintdialog.cpp')
-rw-r--r--tqtinterface/qt4/src/dialogs/tqprintdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqprintdialog.cpp b/tqtinterface/qt4/src/dialogs/tqprintdialog.cpp
index eb4a794..fdfecfd 100644
--- a/tqtinterface/qt4/src/dialogs/tqprintdialog.cpp
+++ b/tqtinterface/qt4/src/dialogs/tqprintdialog.cpp
@@ -922,8 +922,8 @@ TQPrintDialog::TQPrintDialog( TQPrinter *prn, TQWidget *tqparent, const char *na
cancel->setText( tr("Cancel") );
horiz->addWidget( cancel );
- TQSize s1 = d->ok->tqsizeHint();
- TQSize s2 = cancel->tqsizeHint();
+ TQSize s1 = d->ok->sizeHint();
+ TQSize s2 = cancel->sizeHint();
s1 = TQSize( TQMAX(s1.width(), s2.width()),
TQMAX(s1.height(), s2.height()) );
@@ -1139,7 +1139,7 @@ TQGroupBox * TQPrintDialog::setupDestination()
int h = fontMetrics().height();
if ( d->printers->firstChild() )
h = d->printers->firstChild()->height();
- d->printers->setMinimumSize( d->printers->tqsizeHint().width(),
+ d->printers->setMinimumSize( d->printers->sizeHint().width(),
d->printers->header()->height() +
3 * h );
horiz->addWidget( d->printers, 3 );
@@ -1271,9 +1271,9 @@ TQGroupBox * TQPrintDialog::setupOptions()
connect( d->copies, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(setNumCopies(int)) );
- TQSize s = d->firstPageLabel->tqsizeHint()
- .expandedTo( d->lastPageLabel->tqsizeHint() )
- .expandedTo( l->tqsizeHint() );
+ TQSize s = d->firstPageLabel->sizeHint()
+ .expandedTo( d->lastPageLabel->sizeHint() )
+ .expandedTo( l->sizeHint() );
d->firstPageLabel->setMinimumSize( s );
d->lastPageLabel->setMinimumSize( s );
l->setMinimumSize( s.width() + 19, s.height() );