summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kpoti.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 /arts/gui/kde/kpoti.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 '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();