summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kpoti.h
diff options
context:
space:
mode:
Diffstat (limited to 'arts/gui/kde/kpoti.h')
-rw-r--r--arts/gui/kde/kpoti.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/arts/gui/kde/kpoti.h b/arts/gui/kde/kpoti.h
index 2994dd1e..80e32add 100644
--- a/arts/gui/kde/kpoti.h
+++ b/arts/gui/kde/kpoti.h
@@ -25,17 +25,18 @@
class TQTimer;
-struct QPotiData;
+struct TQPotiData;
-class KPoti : public TQFrame, public QRangeControl
+class KPoti : public TQFrame, public TQRangeControl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPoti( TQWidget *parent=0, const char *name=0 );
+ KPoti( TQWidget *tqparent=0, const char *name=0 );
KPoti( int minValue, int maxValue, int step, int value,
- TQWidget *parent=0, const char *name=0 );
+ TQWidget *tqparent=0, const char *name=0 );
~KPoti();
@@ -52,8 +53,8 @@ public:
int tickInterval() const { return tickInt; }
virtual TQSizePolicy sizePolicy() const;
- virtual TQSize sizeHint() const;
- virtual TQSize minimumSizeHint() const;
+ virtual TQSize tqsizeHint() const;
+ virtual TQSize tqminimumSizeHint() const;
TQString text() const;
public slots:
@@ -108,7 +109,7 @@ private:
int potiRadius() const;
void initTicks();
- QTimer *timer;
+ TQTimer *timer;
float potiPos;
int potiVal;
int clickOffset;