summaryrefslogtreecommitdiffstats
path: root/noatun/library/noatun/stereobuttonaction.h
blob: a364dba023fe00d2fda9055f84c8e26c3f732680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#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
  TQ_OBJECT
public:
	StereoButtonAction(const TQString& text, int accel = 0, TQObject* tqparent = 0, const char* name = 0 );
	StereoButtonAction(const TQString& text, int accel, const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0 );
	StereoButtonAction(const TQString& text, const TQIconSet& pix, int accel = 0, TQObject* tqparent = 0, const char* name = 0 );
	StereoButtonAction(const TQString& text, const TQString& pix, int accel = 0, TQObject* tqparent = 0, const char* name = 0 );
	StereoButtonAction(const TQString& text, const TQIconSet& pix, int accel, const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0 );
	StereoButtonAction(const TQString& text, const TQString& pix, int accel, const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0 );
public slots:
	void disable(void);
	void enable(void);
	void toggleEnabled(void);
};

}

#endif