summaryrefslogtreecommitdiffstats
path: root/kmix/ksmallslider.h
diff options
context:
space:
mode:
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;
};