diff options
Diffstat (limited to 'juk/slideraction.h')
-rw-r--r-- | juk/slideraction.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/juk/slideraction.h b/juk/slideraction.h index f312196c..ead3a93f 100644 --- a/juk/slideraction.h +++ b/juk/slideraction.h @@ -17,7 +17,7 @@ #define SLIDERACTION_H #include <kaction.h> -#include <qslider.h> +#include <tqslider.h> class QBoxLayout; class QDockWindow; @@ -27,7 +27,7 @@ class VolumeSlider : public QSlider Q_OBJECT public: - VolumeSlider(Orientation o, QWidget *parent, const char *name); + VolumeSlider(Orientation o, TQWidget *parent, const char *name); int volume() const; void setVolume(int value); @@ -38,8 +38,8 @@ signals: void signalVolumeChanged(int value); protected: - virtual void wheelEvent(QWheelEvent *e); - virtual void focusInEvent(QFocusEvent *); + virtual void wheelEvent(TQWheelEvent *e); + virtual void focusInEvent(TQFocusEvent *); private slots: void slotValueChanged(int value); @@ -50,17 +50,17 @@ class SliderAction : public KAction Q_OBJECT public: - SliderAction(const QString &text, QObject *parent, const char *name); + SliderAction(const TQString &text, TQObject *parent, const char *name); virtual ~SliderAction(); VolumeSlider *volumeSlider() const { return m_volumeSlider; } - QSlider *trackPositionSlider() const { return m_trackPositionSlider; } + TQSlider *trackPositionSlider() const { return m_trackPositionSlider; } bool dragging() const { return m_dragging; } bool volumeDragging() const { return m_volumeDragging; } - virtual int plug(QWidget *parent, int index = -1); - virtual void unplug(QWidget *widget); + virtual int plug(TQWidget *parent, int index = -1); + virtual void unplug(TQWidget *widget); static const int minPosition; static const int maxPosition; @@ -73,7 +73,7 @@ signals: void signalVolumeChanged(int volume); private: - QWidget *createWidget(QWidget *parent); + TQWidget *createWidget(TQWidget *parent); private slots: void slotUpdateSize(); @@ -85,8 +85,8 @@ private slots: private: KToolBar *m_toolBar; - QBoxLayout *m_layout; - QSlider *m_trackPositionSlider; + TQBoxLayout *m_layout; + TQSlider *m_trackPositionSlider; VolumeSlider *m_volumeSlider; bool m_dragging; bool m_volumeDragging; |