From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmix/ksmallslider.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'kmix/ksmallslider.h') diff --git a/kmix/ksmallslider.h b/kmix/ksmallslider.h index b26a238a..62849f7b 100644 --- a/kmix/ksmallslider.h +++ b/kmix/ksmallslider.h @@ -25,25 +25,25 @@ #include -#include -#include -#include +#include +#include +#include -class KSmallSlider : public QWidget, public QRangeControl +class KSmallSlider : public TQWidget, public QRangeControl { Q_OBJECT public: - KSmallSlider( QWidget *parent, const char *name=0 ); - KSmallSlider( Qt::Orientation, QWidget *parent, const char *name=0 ); + KSmallSlider( TQWidget *parent, const char *name=0 ); + KSmallSlider( Qt::Orientation, TQWidget *parent, const char *name=0 ); KSmallSlider( int minValue, int maxValue, int pageStep, int value, - Qt::Orientation, QWidget *parent, const char *name=0 ); + Qt::Orientation, TQWidget *parent, const char *name=0 ); //virtual void setTracking( bool enable ); //bool tracking() const; - QSize sizeHint() const; - QSizePolicy sizePolicy() const; - QSize minimumSizeHint() const; + TQSize sizeHint() const; + TQSizePolicy sizePolicy() const; + TQSize minimumSizeHint() const; int minValue() const; int maxValue() const; @@ -55,7 +55,7 @@ class KSmallSlider : public QWidget, public QRangeControl void setPageStep( int ); int value() const; - //void paletteChange ( const QPalette & oldPalette ); + //void paletteChange ( const TQPalette & oldPalette ); bool gray() const; public slots: @@ -64,8 +64,8 @@ public slots: void subtractStep(); void setGray( bool value ); - void setColors( QColor high, QColor low, QColor back ); - void setGrayColors( QColor high, QColor low, QColor back ); + void setColors( TQColor high, TQColor low, TQColor back ); + void setGrayColors( TQColor high, TQColor low, TQColor back ); signals: void valueChanged( int value ); @@ -74,13 +74,13 @@ public slots: void sliderReleased(); protected: - void resizeEvent( QResizeEvent * ); - void paintEvent( QPaintEvent * ); + void resizeEvent( TQResizeEvent * ); + void paintEvent( TQPaintEvent * ); - void mousePressEvent( QMouseEvent * ); - void mouseReleaseEvent( QMouseEvent * ); - void mouseMoveEvent( QMouseEvent * ); - void wheelEvent( QWheelEvent * ); + void mousePressEvent( TQMouseEvent * ); + void mouseReleaseEvent( TQMouseEvent * ); + void mouseMoveEvent( TQMouseEvent * ); + void wheelEvent( TQWheelEvent * ); void valueChange(); void rangeChange(); @@ -96,7 +96,7 @@ public slots: // int slideLength() const; int available() const; - int goodPart( const QPoint& ) const; + int goodPart( const TQPoint& ) const; //void initTicks(); //QCOORD sliderPos; @@ -105,8 +105,8 @@ public slots: //bool track; bool grayed; Qt::Orientation _orientation; - QColor colHigh, colLow, colBack; - QColor grayHigh, grayLow, grayBack; + TQColor colHigh, colLow, colBack; + TQColor grayHigh, grayLow, grayBack; }; -- cgit v1.2.1