diff options
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqprogressbar.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqprogressbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqprogressbar.cpp b/tqtinterface/qt4/src/widgets/tqprogressbar.cpp index 8c6e8ca..e00d12d 100644 --- a/tqtinterface/qt4/src/widgets/tqprogressbar.cpp +++ b/tqtinterface/qt4/src/widgets/tqprogressbar.cpp @@ -229,12 +229,12 @@ void TQProgressBar::setProgress( int progress, int totalSteps ) /*! \reimp */ -TQSize TQProgressBar::sizeHint() const +TQSize TQProgressBar::tqsizeHint() const { constPolish(); TQFontMetrics fm = fontMetrics(); int cw = tqstyle().tqpixelMetric(TQStyle::PM_ProgressBarChunkWidth, this); - return tqstyle().sizeFromContents(TQStyle::CT_ProgressBar, this, + return tqstyle().tqsizeFromContents(TQStyle::CT_ProgressBar, this, TQSize( cw * 7 + fm.width( '0' ) * 4, fm.height() + 8)); } @@ -245,7 +245,7 @@ TQSize TQProgressBar::sizeHint() const */ TQSize TQProgressBar::tqminimumSizeHint() const { - return sizeHint(); + return tqsizeHint(); } /*! |