author | nemo |
Mon, 30 Jan 2012 17:32:18 -0500 | |
changeset 6616 | f77bb02b669f |
parent 6577 | 9e49e6a8585b |
child 6700 | e04da46ee43c |
permissions | -rw-r--r-- |
6572 | 1 |
#ifndef QPUSHBUTTONWITHSOUND_H |
2 |
#define QPUSHBUTTONWITHSOUND_H |
|
3 |
||
4 |
#include <QPushButton> |
|
5 |
||
6 |
class QPushButtonWithSound : public QPushButton |
|
7 |
{ |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
8 |
Q_OBJECT |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
9 |
public: |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
10 |
explicit QPushButtonWithSound(QWidget *parent = 0); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
11 |
bool isSoundEnabled; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
12 |
signals: |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
13 |
|
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
14 |
public slots: |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
15 |
private slots: |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
16 |
void buttonClicked(); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6577
diff
changeset
|
17 |
|
6572 | 18 |
}; |
19 |
||
20 |
#endif // QPUSHBUTTONWITHSOUND_H |