summaryrefslogtreecommitdiffstats
path: root/noatun/library/stereobuttonaction.cpp
blob: 7d5d39363a513328ddd623b2211fbe8c1e2a0f2f (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include "stereobuttonaction.h"

namespace NoatunStdAction
{

StereoButtonAction::StereoButtonAction(const TQString& text, int accel, TQObject* tqparent, const char* name )
	: KAction(text, accel, tqparent, name)
{}

StereoButtonAction::StereoButtonAction(const TQString& text, int accel, const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name )
	: KAction(text, accel, receiver, slot, tqparent, name)
{}

StereoButtonAction::StereoButtonAction(const TQString& text, const TQIconSet& pix, int accel, TQObject* tqparent, const char* name )
	: KAction(text, pix, accel, tqparent, name)
{}

StereoButtonAction::StereoButtonAction(const TQString& text, const TQString& pix, int accel, TQObject* tqparent, const char* name )
	: KAction(text, pix, accel, tqparent, name)
{}

StereoButtonAction::StereoButtonAction(const TQString& text, const TQIconSet& pix, int accel, const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name )
	: KAction(text, pix, accel, receiver, slot, tqparent, name)
{}

StereoButtonAction::StereoButtonAction(const TQString& text, const TQString& pix, int accel, const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name )
	: KAction(text, pix, accel, receiver, slot, tqparent, name)
{}

void StereoButtonAction::disable(void)
{
	setEnabled(false);
}

void StereoButtonAction::enable(void)
{
	setEnabled(true);
}

void StereoButtonAction::toggleEnabled(void)
{
	setEnabled(!isEnabled());
}

}

#include "stereobuttonaction.moc"