diff options
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqspinbox.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqspinbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqspinbox.cpp b/tqtinterface/qt4/src/widgets/tqspinbox.cpp index f284d2c..579d93b 100644 --- a/tqtinterface/qt4/src/widgets/tqspinbox.cpp +++ b/tqtinterface/qt4/src/widgets/tqspinbox.cpp @@ -496,10 +496,10 @@ bool TQSpinBox::wrapping() const /*! \reimp */ -TQSize TQSpinBox::sizeHint() const +TQSize TQSpinBox::tqsizeHint() const { constPolish(); - TQSize sz = vi->sizeHint(); + TQSize sz = vi->tqsizeHint(); int h = sz.height(); TQFontMetrics fm( font() ); int w = 35; @@ -513,7 +513,7 @@ TQSize TQSpinBox::sizeHint() const s = specialValueText(); w = TQMAX( w, fm.width( s ) + wx ); } - return tqstyle().sizeFromContents(TQStyle::CT_SpinBox, this, + return tqstyle().tqsizeFromContents(TQStyle::CT_SpinBox, this, TQSize( w + d->controls->downRect().width(), h + tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth ) * 2). expandedTo( TQApplication::globalStrut() )); |