summaryrefslogtreecommitdiffstats
path: root/noatun/library/stereobuttonaction.cpp
blob: 270117084606121e4af9ca9ed29460c516335003 (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* parent, const char* name )
	: TDEAction(text, accel, parent, name)
{}

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

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

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

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

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

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

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

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

}

#include "stereobuttonaction.moc"