author | Xeli |
Sat, 05 May 2012 16:41:14 +0200 | |
changeset 7023 | b320ff81cc73 |
parent 6700 | e04da46ee43c |
child 7793 | 3c21da93db9f |
permissions | -rw-r--r-- |
6700 | 1 |
#ifndef QPUSHBUTTONWITHSOUND_H |
2 |
#define QPUSHBUTTONWITHSOUND_H |
|
3 |
||
4 |
#include <QPushButton> |
|
5 |
||
6 |
class QPushButtonWithSound : public QPushButton |
|
7 |
{ |
|
8 |
Q_OBJECT |
|
9 |
public: |
|
10 |
explicit QPushButtonWithSound(QWidget *parent = 0); |
|
11 |
bool isSoundEnabled; |
|
12 |
signals: |
|
13 |
||
14 |
public slots: |
|
15 |
private slots: |
|
16 |
void buttonClicked(); |
|
17 |
||
18 |
}; |
|
19 |
||
20 |
#endif // QPUSHBUTTONWITHSOUND_H |