diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch) | |
tree | 9047cf9e6b5c43878d5bf82660adae77ceee097a /noatun/library/noatun/stereobuttonaction.h | |
download | tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/library/noatun/stereobuttonaction.h')
-rw-r--r-- | noatun/library/noatun/stereobuttonaction.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/noatun/library/noatun/stereobuttonaction.h b/noatun/library/noatun/stereobuttonaction.h new file mode 100644 index 00000000..ce423b64 --- /dev/null +++ b/noatun/library/noatun/stereobuttonaction.h @@ -0,0 +1,31 @@ +#ifndef STEREOBUTTONACTION_H +#define STEREOBUTTONACTION_H + +#include <kaction.h> + +namespace NoatunStdAction +{ + +/** + * No, I never owned StereoButtonAction, but I'm tired + * and PlayAction is already taken. + */ +class StereoButtonAction : public KAction +{ +Q_OBJECT +public: + StereoButtonAction(const QString& text, int accel = 0, QObject* parent = 0, const char* name = 0 ); + StereoButtonAction(const QString& text, int accel, const QObject* receiver, const char* slot, QObject* parent, const char* name = 0 ); + StereoButtonAction(const QString& text, const QIconSet& pix, int accel = 0, QObject* parent = 0, const char* name = 0 ); + StereoButtonAction(const QString& text, const QString& pix, int accel = 0, QObject* parent = 0, const char* name = 0 ); + StereoButtonAction(const QString& text, const QIconSet& pix, int accel, const QObject* receiver, const char* slot, QObject* parent, const char* name = 0 ); + StereoButtonAction(const QString& text, const QString& pix, int accel, const QObject* receiver, const char* slot, QObject* parent, const char* name = 0 ); +public slots: + void disable(void); + void enable(void); + void toggleEnabled(void); +}; + +} + +#endif |