diff options
Diffstat (limited to 'tqtinterface/qt4/src/dialogs')
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqcolordialog.cpp | 12 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqdialog.cpp | 20 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqdialog.h | 2 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqerrormessage.cpp | 4 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqfiledialog.cpp | 28 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqfontdialog.cpp | 6 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqinputdialog.cpp | 6 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqmessagebox.cpp | 2 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqprintdialog.cpp | 12 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp | 40 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqprogressdialog.h | 2 | ||||
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqtabdialog.cpp | 10 |
12 files changed, 72 insertions, 72 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqcolordialog.cpp b/tqtinterface/qt4/src/dialogs/tqcolordialog.cpp index 2b7e1a0..cd13476 100644 --- a/tqtinterface/qt4/src/dialogs/tqcolordialog.cpp +++ b/tqtinterface/qt4/src/dialogs/tqcolordialog.cpp @@ -87,7 +87,7 @@ public: virtual void setCurrent( int row, int col ); virtual void setSelected( int row, int col ); - TQSize sizeHint() const; + TQSize tqsizeHint() const; virtual void setCellBrush( int row, int col, const TQBrush & ); TQBrush cellBrush( int row, int col ); @@ -176,7 +176,7 @@ TQWellArray::TQWellArray( TQWidget *tqparent, const char * name, bool popup ) } -TQSize TQWellArray::sizeHint() const +TQSize TQWellArray::tqsizeHint() const { constPolish(); TQSize s = gridSize().boundedTo( TQSize(640, 480 ) ); @@ -642,7 +642,7 @@ Q_SIGNALS: void newCol( int h, int s ); protected: - TQSize sizeHint() const; + TQSize tqsizeHint() const; void drawContents(TQPainter* p); void mouseMoveEvent( TQMouseEvent * ); void mousePressEvent( TQMouseEvent * ); @@ -825,7 +825,7 @@ TQColorPicker::~TQColorPicker() delete pix; } -TQSize TQColorPicker::sizeHint() const +TQSize TQColorPicker::tqsizeHint() const { return TQSize( pWidth + 2*frameWidth(), pHeight + 2*frameWidth() ); } @@ -910,9 +910,9 @@ class TQColNumLineEdit : public TQLineEdit public: TQColNumLineEdit( TQWidget *tqparent, const char* name=0 ) : TQLineEdit( tqparent, name ) { setMaxLength( 3 );} - TQSize sizeHint() const { + TQSize tqsizeHint() const { return TQSize( fontMetrics().width( "999" ) + 2 * ( margin() + frameWidth() ), - TQLineEdit::sizeHint().height() ); } + TQLineEdit::tqsizeHint().height() ); } void setNum( int i ) { TQString s; s.setNum(i); 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 diff --git a/tqtinterface/qt4/src/dialogs/tqdialog.h b/tqtinterface/qt4/src/dialogs/tqdialog.h index a15389c..972fc1d 100644 --- a/tqtinterface/qt4/src/dialogs/tqdialog.h +++ b/tqtinterface/qt4/src/dialogs/tqdialog.h @@ -84,7 +84,7 @@ public: void setExtension( TQWidget* extension ); TQWidget* extension() const; - TQSize sizeHint() const; + TQSize tqsizeHint() const; TQSize tqminimumSizeHint() const; void setSizeGripEnabled( bool ); diff --git a/tqtinterface/qt4/src/dialogs/tqerrormessage.cpp b/tqtinterface/qt4/src/dialogs/tqerrormessage.cpp index 99309d8..8a86b71 100644 --- a/tqtinterface/qt4/src/dialogs/tqerrormessage.cpp +++ b/tqtinterface/qt4/src/dialogs/tqerrormessage.cpp @@ -63,7 +63,7 @@ public: : TQTextView( tqparent, name ) { } virtual TQSize tqminimumSizeHint() const; - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; }; TQSize TQErrorMessageTextView::tqminimumSizeHint() const @@ -71,7 +71,7 @@ TQSize TQErrorMessageTextView::tqminimumSizeHint() const return TQSize( 50, 50 ); } -TQSize TQErrorMessageTextView::sizeHint() const +TQSize TQErrorMessageTextView::tqsizeHint() const { return TQSize( 250, 75 ); } diff --git a/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp b/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp index 221bec5..f92e18e 100644 --- a/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp +++ b/tqtinterface/qt4/src/dialogs/tqfiledialog.cpp @@ -892,7 +892,7 @@ TQFDProgressDialog::TQFDProgressDialog( TQWidget *tqparent, const TQString &fn, TQPushButton *b = new TQPushButton( TQFileDialog::tr( "Cancel" ), this, "qt_cancel_btn" ); - b->setFixedSize( b->sizeHint() ); + b->setFixedSize( b->tqsizeHint() ); tqlayout->addWidget( b ); connect( b, TQT_SIGNAL( clicked() ), this, TQT_SIGNAL( cancelled() ) ); @@ -1180,7 +1180,7 @@ TQFileListBox::TQFileListBox( TQWidget *tqparent, TQFileDialog *dlg ) TQVBox *box = new TQVBox( viewport(), "qt_vbox" ); box->setFrameStyle( TQFrame::Box | TQFrame::Plain ); lined = new TQRenameEdit( box ); - lined->setFixedHeight( lined->sizeHint().height() ); + lined->setFixedHeight( lined->tqsizeHint().height() ); box->hide(); box->setBackgroundMode( TQt::PaletteBase ); renameTimer = new TQTimer( this ); @@ -1581,7 +1581,7 @@ TQFileDialogTQFileListView::TQFileDialogTQFileListView( TQWidget *tqparent, TQFi TQVBox *box = new TQVBox( viewport(), "qt_vbox" ); box->setFrameStyle( TQFrame::Box | TQFrame::Plain ); lined = new TQRenameEdit( box ); - lined->setFixedHeight( lined->sizeHint().height() ); + lined->setFixedHeight( lined->tqsizeHint().height() ); box->hide(); box->setBackgroundMode( TQt::PaletteBase ); renameTimer = new TQTimer( this ); @@ -2795,7 +2795,7 @@ void TQFileDialog::init() if ( screen.width() < 1024 || screen.height() < 768 ) { resize( TQMIN(screen.width(), 420), TQMIN(screen.height(), 236) ); } else { - TQSize s = files->sizeHint(); + TQSize s = files->tqsizeHint(); s = TQSize( s.width() + 300, s.height() + 82 ); if ( s.width() * 3 > screen.width() * 2 ) @@ -3894,20 +3894,20 @@ void TQFileDialog::updateGeometries() r.setHeight( TQMAX(r.height(),t.height()) ) // labels first - r = d->pathL->sizeHint(); - t = d->fileL->sizeHint(); + r = d->pathL->tqsizeHint(); + t = d->fileL->tqsizeHint(); RM; - t = d->typeL->sizeHint(); + t = d->typeL->tqsizeHint(); RM; - d->pathL->setFixedSize( d->pathL->sizeHint() ); + d->pathL->setFixedSize( d->pathL->tqsizeHint() ); d->fileL->setFixedSize( r ); d->typeL->setFixedSize( r ); // single-line input areas - r = d->paths->sizeHint(); - t = nameEdit->sizeHint(); + r = d->paths->tqsizeHint(); + t = nameEdit->tqsizeHint(); RM; - t = d->types->sizeHint(); + t = d->types->tqsizeHint(); RM; r.setWidth( t.width() * 2 / 3 ); t.setWidth( TQWIDGETSIZE_MAX ); @@ -3935,7 +3935,7 @@ r.setHeight( TQMAX(r.height(),t.height()) ) TQButton *b = 0; if ( !d->toolButtons.isEmpty() ) { for ( b = d->toolButtons.first(); b; b = d->toolButtons.next() ) - b->setFixedSize( b->sizeHint().width(), r.height() ); + b->setFixedSize( b->tqsizeHint().width(), r.height() ); } if ( d->infoPreview ) { @@ -3956,9 +3956,9 @@ r.setHeight( TQMAX(r.height(),t.height()) ) // open/save, cancel r = TQSize( 75, 20 ); - t = okB->sizeHint(); + t = okB->tqsizeHint(); RM; - t = cancelB->sizeHint(); + t = cancelB->tqsizeHint(); RM; okB->setFixedSize( r ); diff --git a/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp b/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp index 7669091..fbccfa8 100644 --- a/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp +++ b/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp @@ -227,9 +227,9 @@ TQFontDialog::TQFontDialog( TQWidget *tqparent, const char *name, connect( d->underline, TQT_SIGNAL(clicked()), TQT_SLOT(updateSample()) ); - (void)d->familyList->sizeHint(); - (void)d->styleList->sizeHint(); - (void)d->sizeList->sizeHint(); + (void)d->familyList->tqsizeHint(); + (void)d->styleList->tqsizeHint(); + (void)d->sizeList->tqsizeHint(); for (int i = 0; i < TQFont::NScripts; i++) { TQString scriptname = TQFontDatabase::scriptName((TQFont::Script) i); diff --git a/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp b/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp index 19dad1d..951826b 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->sizeHint().expandedTo( cancel->sizeHint() ); + TQSize bs = d->ok->tqsizeHint().expandedTo( cancel->tqsizeHint() ); 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 = sizeHint().expandedTo( TQSize(400, 10) ); + TQSize sh = tqsizeHint().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->sizeHint().height() ); + d->stack->setFixedHeight( input->tqsizeHint().height() ); input->setFocus(); #ifndef TQT_NO_ACCEL d->label->setBuddy( input ); diff --git a/tqtinterface/qt4/src/dialogs/tqmessagebox.cpp b/tqtinterface/qt4/src/dialogs/tqmessagebox.cpp index 9d89be5..79f6bfc 100644 --- a/tqtinterface/qt4/src/dialogs/tqmessagebox.cpp +++ b/tqtinterface/qt4/src/dialogs/tqmessagebox.cpp @@ -1682,7 +1682,7 @@ void TQMessageBox::resizeButtons() int i; TQSize maxSize; for ( i=0; i<mbd->numButtons; i++ ) { - TQSize s = mbd->pb[i]->sizeHint(); + TQSize s = mbd->pb[i]->tqsizeHint(); maxSize.setWidth( TQMAX(maxSize.width(), s.width()) ); maxSize.setHeight( TQMAX(maxSize.height(),s.height()) ); } diff --git a/tqtinterface/qt4/src/dialogs/tqprintdialog.cpp b/tqtinterface/qt4/src/dialogs/tqprintdialog.cpp index fdfecfd..eb4a794 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->sizeHint(); - TQSize s2 = cancel->sizeHint(); + TQSize s1 = d->ok->tqsizeHint(); + TQSize s2 = cancel->tqsizeHint(); 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->sizeHint().width(), + d->printers->setMinimumSize( d->printers->tqsizeHint().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->sizeHint() - .expandedTo( d->lastPageLabel->sizeHint() ) - .expandedTo( l->sizeHint() ); + TQSize s = d->firstPageLabel->tqsizeHint() + .expandedTo( d->lastPageLabel->tqsizeHint() ) + .expandedTo( l->tqsizeHint() ); d->firstPageLabel->setMinimumSize( s ); d->lastPageLabel->setMinimumSize( s ); l->setMinimumSize( s.width() + 19, s.height() ); diff --git a/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp b/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp index a6f04b6..74bf69f 100644 --- a/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp +++ b/tqtinterface/qt4/src/dialogs/tqprogressdialog.cpp @@ -358,8 +358,8 @@ void TQProgressDialog::setLabel( TQLabel *label ) label->reparent( this, 0, TQPoint(0,0), FALSE ); } } - int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() ); - int h = TQMAX( isVisible() ? height() : 0, sizeHint().height() ); + int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() ); + int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() ); resize( w, h ); if (label) label->show(); @@ -384,8 +384,8 @@ void TQProgressDialog::setLabelText( const TQString &text ) { if ( label() ) { label()->setText( text ); - int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() ); - int h = TQMAX( isVisible() ? height() : 0, sizeHint().height() ); + int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() ); + int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() ); resize( w, h ); } } @@ -417,8 +417,8 @@ void TQProgressDialog::setCancelButton( TQPushButton *cancelButton ) d->cancel, TQT_SIGNAL(clicked()) ); #endif } - int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() ); - int h = TQMAX( isVisible() ? height() : 0, sizeHint().height() ); + int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() ); + int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() ); resize( w, h ); if (cancelButton) cancelButton->show(); @@ -439,8 +439,8 @@ void TQProgressDialog::setCancelButtonText( const TQString &cancelButtonText ) } else { setCancelButton(0); } - int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() ); - int h = TQMAX( isVisible() ? height() : 0, sizeHint().height() ); + int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() ); + int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() ); resize( w, h ); } @@ -462,8 +462,8 @@ void TQProgressDialog::setBar( TQProgressBar *bar ) } delete d->bar; d->bar = bar; - int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() ); - int h = TQMAX( isVisible() ? height() : 0, sizeHint().height() ); + int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() ); + int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() ); resize( w, h ); } @@ -610,8 +610,8 @@ void TQProgressDialog::setProgress( int progress ) } } if ( need_show ) { - int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() ); - int h = TQMAX( isVisible() ? height() : 0, sizeHint().height() ); + int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() ); + int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() ); resize( w, h ); show(); d->shown_once = TRUE; @@ -647,13 +647,13 @@ void TQProgressDialog::setProgress( int progress, int totalSteps ) need to call this yourself. */ -TQSize TQProgressDialog::sizeHint() const +TQSize TQProgressDialog::tqsizeHint() const { - TQSize sh = label()->sizeHint(); - TQSize bh = bar()->sizeHint(); + TQSize sh = label()->tqsizeHint(); + TQSize bh = bar()->tqsizeHint(); int h = margin_tb*2 + bh.height() + sh.height() + spacing; if ( d->cancel ) - h += d->cancel->sizeHint().height() + spacing; + h += d->cancel->tqsizeHint().height() + spacing; return TQSize( TQMAX(200, sh.width() + 2*margin_lr), h ); } @@ -681,8 +681,8 @@ void TQProgressDialog::tqlayout() const bool centered = bool(tqstyle().tqstyleHint(TQStyle::SH_ProgressDialog_CenterCancelButton, this)); - TQSize cs = d->cancel ? d->cancel->sizeHint() : TQSize(0,0); - TQSize bh = bar()->sizeHint(); + TQSize cs = d->cancel ? d->cancel->tqsizeHint() : TQSize(0,0); + TQSize bh = bar()->tqsizeHint(); int cspc; int lh = 0; @@ -800,8 +800,8 @@ bool TQProgressDialog::autoClose() const void TQProgressDialog::showEvent( TQShowEvent *e ) { TQDialog::showEvent( e ); - int w = TQMAX( isVisible() ? width() : 0, sizeHint().width() ); - int h = TQMAX( isVisible() ? height() : 0, sizeHint().height() ); + int w = TQMAX( isVisible() ? width() : 0, tqsizeHint().width() ); + int h = TQMAX( isVisible() ? height() : 0, tqsizeHint().height() ); resize( w, h ); forceTimer->stop(); } diff --git a/tqtinterface/qt4/src/dialogs/tqprogressdialog.h b/tqtinterface/qt4/src/dialogs/tqprogressdialog.h index b514047..96ed191 100644 --- a/tqtinterface/qt4/src/dialogs/tqprogressdialog.h +++ b/tqtinterface/qt4/src/dialogs/tqprogressdialog.h @@ -85,7 +85,7 @@ public: int totalSteps() const; int progress() const; - TQSize sizeHint() const; + TQSize tqsizeHint() const; TQString labelText() const; diff --git a/tqtinterface/qt4/src/dialogs/tqtabdialog.cpp b/tqtinterface/qt4/src/dialogs/tqtabdialog.cpp index 70edca2..dc670a9 100644 --- a/tqtinterface/qt4/src/dialogs/tqtabdialog.cpp +++ b/tqtinterface/qt4/src/dialogs/tqtabdialog.cpp @@ -936,7 +936,7 @@ void TQTabDialog::setSizes() int bh = s.height(); if ( d->ok ) { - s = d->ok->sizeHint(); + s = d->ok->tqsizeHint(); if ( s.width() > bw ) bw = s.width(); if ( s.height() > bh ) @@ -944,7 +944,7 @@ void TQTabDialog::setSizes() } if ( d->ab ) { - s = d->ab->sizeHint(); + s = d->ab->tqsizeHint(); if ( s.width() > bw ) bw = s.width(); if ( s.height() > bh ) @@ -952,7 +952,7 @@ void TQTabDialog::setSizes() } if ( d->db ) { - s = d->db->sizeHint(); + s = d->db->tqsizeHint(); if ( s.width() > bw ) bw = s.width(); if ( s.height() > bh ) @@ -960,7 +960,7 @@ void TQTabDialog::setSizes() } if ( d->hb ) { - s = d->hb->sizeHint(); + s = d->hb->tqsizeHint(); if ( s.width() > bw ) bw = s.width(); if ( s.height() > bh ) @@ -968,7 +968,7 @@ void TQTabDialog::setSizes() } if ( d->cb ) { - s = d->cb->sizeHint(); + s = d->cb->tqsizeHint(); if ( s.width() > bw ) bw = s.width(); if ( s.height() > bh ) |