diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /juk/slideraction.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-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 '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; |