summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqprogressbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqprogressbar.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqprogressbar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqprogressbar.cpp b/tqtinterface/qt4/src/widgets/tqprogressbar.cpp
index e00d12d..8c6e8ca 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::tqsizeHint() const
+TQSize TQProgressBar::sizeHint() const
{
constPolish();
TQFontMetrics fm = fontMetrics();
int cw = tqstyle().tqpixelMetric(TQStyle::PM_ProgressBarChunkWidth, this);
- return tqstyle().tqsizeFromContents(TQStyle::CT_ProgressBar, this,
+ return tqstyle().sizeFromContents(TQStyle::CT_ProgressBar, this,
TQSize( cw * 7 + fm.width( '0' ) * 4,
fm.height() + 8));
}
@@ -245,7 +245,7 @@ TQSize TQProgressBar::tqsizeHint() const
*/
TQSize TQProgressBar::tqminimumSizeHint() const
{
- return tqsizeHint();
+ return sizeHint();
}
/*!