summaryrefslogtreecommitdiffstats
path: root/noatun/library/stereobuttonaction.cpp
blob: bfb688f7f45c8ddbb2938fd94e6d818a43202f06 (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 QString& text, int accel, QObject* parent, const char* name )
	: KAction(text, accel, parent, name)
{}

StereoButtonAction::StereoButtonAction(const QString& text, int accel, const QObject* receiver, const char* slot, QObject* parent, const char* name )
	: KAction(text, accel, receiver, slot, parent, name)
{}

StereoButtonAction::StereoButtonAction(const QString& text, const QIconSet& pix, int accel, QObject* parent, const char* name )
	: KAction(text, pix, accel, parent, name)
{}

StereoButtonAction::StereoButtonAction(const QString& text, const QString& pix, int accel, QObject* parent, const char* name )
	: KAction(text, pix, accel, parent, name)
{}

StereoButtonAction::StereoButtonAction(const QString& text, const QIconSet& pix, int accel, const QObject* receiver, const char* slot, QObject* parent, const char* name )
	: KAction(text, pix, accel, receiver, slot, parent, name)
{}

StereoButtonAction::StereoButtonAction(const QString& text, const QString& pix, int accel, const QObject* receiver, const char* slot, QObject* parent, const char* name )
	: KAction(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"