summaryrefslogtreecommitdiffstats
path: root/kmix/ksmallslider.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmix/ksmallslider.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmix/ksmallslider.h')
-rw-r--r--kmix/ksmallslider.h44
1 files changed, 22 insertions, 22 deletions
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 <kpanelapplet.h>
-#include <qwidget.h>
-#include <qpixmap.h>
-#include <qrangecontrol.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
+#include <tqrangecontrol.h>
-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;
};