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.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/arts/gui/kde/kpoti.h b/arts/gui/kde/kpoti.h
index a87b5162..278d6350 100644
--- a/arts/gui/kde/kpoti.h
+++ b/arts/gui/kde/kpoti.h
@@ -20,29 +20,29 @@
#ifndef _KPOTI_H
#define _KPOTI_H
-#include <qframe.h>
-#include <qrangecontrol.h>
+#include <tqframe.h>
+#include <tqrangecontrol.h>
class QTimer;
struct QPotiData;
-class KPoti : public QFrame, public QRangeControl
+class KPoti : public TQFrame, public QRangeControl
{
Q_OBJECT
public:
- KPoti( QWidget *parent=0, const char *name=0 );
+ KPoti( TQWidget *parent=0, const char *name=0 );
KPoti( int minValue, int maxValue, int step, int value,
- QWidget *parent=0, const char *name=0 );
+ TQWidget *parent=0, const char *name=0 );
~KPoti();
void setTracking( bool enable );
bool tracking() const;
- void setColor( const QColor & );
+ void setColor( const TQColor & );
virtual void setTickmarks( bool );
virtual void setLabel( bool );
@@ -51,16 +51,16 @@ public:
virtual void setTickInterval( int );
int tickInterval() const { return tickInt; }
- virtual QSizePolicy sizePolicy() const;
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
- QString text() const;
+ virtual TQSizePolicy sizePolicy() const;
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
+ TQString text() const;
public slots:
void setValue( int );
void addStep();
void subtractStep();
- void setText( const QString & );
+ void setText( const TQString & );
signals:
void valueChanged( int value );
@@ -70,29 +70,29 @@ signals:
void mouseEntered(int value);
protected:
- void resizeEvent( QResizeEvent * );
- void drawContents( QPainter * );
+ void resizeEvent( TQResizeEvent * );
+ void drawContents( TQPainter * );
- void keyPressEvent( QKeyEvent * );
+ void keyPressEvent( TQKeyEvent * );
- void mousePressEvent( QMouseEvent * );
- void mouseReleaseEvent( QMouseEvent * );
- void mouseMoveEvent( QMouseEvent * );
- void enterEvent( QEvent *);
+ void mousePressEvent( TQMouseEvent * );
+ void mouseReleaseEvent( TQMouseEvent * );
+ void mouseMoveEvent( TQMouseEvent * );
+ void enterEvent( TQEvent *);
- void focusInEvent( QFocusEvent *e );
- void focusOutEvent( QFocusEvent *e );
+ void focusInEvent( TQFocusEvent *e );
+ void focusOutEvent( TQFocusEvent *e );
void valueChange();
void rangeChange();
- virtual void paletteChange( const QPalette & );
+ virtual void paletteChange( const TQPalette & );
- virtual void paintPoti( QPainter * );
- void drawButton( QPainter *);
- void drawTicks( QPainter *, double, double, int=1 ) const;
+ virtual void paintPoti( TQPainter * );
+ void drawButton( TQPainter *);
+ void drawTicks( TQPainter *, double, double, int=1 ) const;
- virtual void wheelEvent(QWheelEvent *e);
+ virtual void wheelEvent(TQWheelEvent *e);
private slots:
void repeatTimeout();