diff options
Diffstat (limited to 'kmix/ksmallslider.cpp')
-rw-r--r-- | kmix/ksmallslider.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmix/ksmallslider.cpp b/kmix/ksmallslider.cpp index d65f9a1a..fea113b5 100644 --- a/kmix/ksmallslider.cpp +++ b/kmix/ksmallslider.cpp @@ -24,7 +24,7 @@ #include <tqwidget.h> #include <tqpainter.h> #include <tqcolor.h> -#include <brush.h> +#include <tqbrush.h> #include <tqstyle.h> #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() ), colorGroup(), TRUE ); + tqstyle().tqdrawPrimitive ( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ), tqcolorGroup(), TRUE ); // ------------------------ draw lower/left part ---------------------------------------- @@ -396,7 +396,7 @@ int KSmallSlider::goodPart( const TQPoint &p ) const } /***************** SIZE STUFF START ***************/ -TQSize KSmallSlider::sizeHint() const +TQSize KSmallSlider::tqsizeHint() const { //constPolish(); const int length = 25; @@ -409,7 +409,7 @@ TQSize KSmallSlider::sizeHint() const } -TQSize KSmallSlider::minimumSizeHint() const +TQSize KSmallSlider::tqminimumSizeHint() const { TQSize s(10,10); return s; @@ -486,7 +486,7 @@ void KSmallSlider::setGray( bool value ) { grayed = value; update(); - //repaint(); + //tqrepaint(); } } @@ -501,7 +501,7 @@ void KSmallSlider::setColors( TQColor high, TQColor low, TQColor back ) colLow = low; colBack = back; update(); - //repaint(); + //tqrepaint(); } 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(); - //repaint(); + //tqrepaint(); } #include "ksmallslider.moc" |