summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqslider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqslider.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqslider.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqslider.cpp b/tqtinterface/qt4/src/widgets/tqslider.cpp
index 9d3ece2..d8a3ffa 100644
--- a/tqtinterface/qt4/src/widgets/tqslider.cpp
+++ b/tqtinterface/qt4/src/widgets/tqslider.cpp
@@ -729,7 +729,7 @@ int TQSlider::goodPart( const TQPoint &p ) const
/*!
\reimp
*/
-TQSize TQSlider::tqsizeHint() const
+TQSize TQSlider::sizeHint() const
{
constPolish();
const int length = 84, tickSpace = 5;
@@ -743,7 +743,7 @@ TQSize TQSlider::tqsizeHint() const
w = length;
h = thick;
}
- return (tqstyle().tqsizeFromContents(TQStyle::CT_Slider, this,
+ return (tqstyle().sizeFromContents(TQStyle::CT_Slider, this,
TQSize(w, h)).expandedTo(TQApplication::globalStrut()));
}
@@ -755,7 +755,7 @@ TQSize TQSlider::tqsizeHint() const
TQSize TQSlider::tqminimumSizeHint() const
{
- TQSize s = tqsizeHint();
+ TQSize s = sizeHint();
int length = tqstyle().tqpixelMetric(TQStyle::PM_SliderLength, this);
if ( orient == Qt::Horizontal )
s.setWidth( length );
@@ -780,7 +780,7 @@ void TQSlider::tqsetSizePolicy( TQSizePolicy sp )
TQSizePolicy TQSlider::sizePolicy() const
{
// ### 4.0 remove this reimplementation
- return TQWidget::tqsizePolicy();
+ return TQWidget::sizePolicy();
}
/*!