From 83fbc82a101309e171089f0d5ed080f82a367345 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:49:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kmix/ksmallslider.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmix/ksmallslider.cpp') diff --git a/kmix/ksmallslider.cpp b/kmix/ksmallslider.cpp index fea113b5..d65f9a1a 100644 --- a/kmix/ksmallslider.cpp +++ b/kmix/ksmallslider.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include "kglobalsettings.h" @@ -225,7 +225,7 @@ void KSmallSlider::paintEvent( TQPaintEvent * ) int sliderPos = positionFromValue( TQRangeControl::value() ); // ------------------------ draw 3d border --------------------------------------------- - tqstyle().tqdrawPrimitive ( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ), tqcolorGroup(), TRUE ); + tqstyle().tqdrawPrimitive ( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ), colorGroup(), TRUE ); // ------------------------ draw lower/left part ---------------------------------------- @@ -396,7 +396,7 @@ int KSmallSlider::goodPart( const TQPoint &p ) const } /***************** SIZE STUFF START ***************/ -TQSize KSmallSlider::tqsizeHint() const +TQSize KSmallSlider::sizeHint() const { //constPolish(); const int length = 25; @@ -409,7 +409,7 @@ TQSize KSmallSlider::tqsizeHint() const } -TQSize KSmallSlider::tqminimumSizeHint() const +TQSize KSmallSlider::minimumSizeHint() const { TQSize s(10,10); return s; @@ -486,7 +486,7 @@ void KSmallSlider::setGray( bool value ) { grayed = value; update(); - //tqrepaint(); + //repaint(); } } @@ -501,7 +501,7 @@ void KSmallSlider::setColors( TQColor high, TQColor low, TQColor back ) colLow = low; colBack = back; update(); - //tqrepaint(); + //repaint(); } void KSmallSlider::setGrayColors( TQColor high, TQColor low, TQColor back ) @@ -510,7 +510,7 @@ void KSmallSlider::setGrayColors( TQColor high, TQColor low, TQColor back ) grayLow = low; grayBack = back; update(); - //tqrepaint(); + //repaint(); } #include "ksmallslider.moc" -- cgit v1.2.1