equal
deleted
inserted
replaced
3 |
3 |
4 #include <QPushButton> |
4 #include <QPushButton> |
5 |
5 |
6 class QPushButtonWithSound : public QPushButton |
6 class QPushButtonWithSound : public QPushButton |
7 { |
7 { |
8 Q_OBJECT |
8 Q_OBJECT |
9 public: |
9 public: |
10 explicit QPushButtonWithSound(QWidget *parent = 0); |
10 explicit QPushButtonWithSound(QWidget *parent = 0); |
11 bool isSoundEnabled; |
11 bool isSoundEnabled; |
12 signals: |
12 signals: |
13 |
13 |
14 public slots: |
14 public slots: |
15 private slots: |
15 private slots: |
16 void buttonClicked(); |
16 void buttonClicked(); |
17 |
17 |
18 }; |
18 }; |
19 |
19 |
20 #endif // QPUSHBUTTONWITHSOUND_H |
20 #endif // QPUSHBUTTONWITHSOUND_H |