diff options
| author | manuel <manuel@mausz.at> | 2011-04-09 16:01:36 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-09 16:01:36 +0200 |
| commit | 4c8c448a6de8b33e4a64271d6b2d0d25e00043ab (patch) | |
| tree | cdaffdc2f43e50cbc12f6f6ead9493c7f7058c23 /pacman-c++/mainwidget.h | |
| parent | 64a02ded2453082fe13e8a8b408933e8fada131c (diff) | |
| download | foop-4c8c448a6de8b33e4a64271d6b2d0d25e00043ab.tar.gz foop-4c8c448a6de8b33e4a64271d6b2d0d25e00043ab.tar.bz2 foop-4c8c448a6de8b33e4a64271d6b2d0d25e00043ab.zip | |
store sound muted in local settings
Diffstat (limited to 'pacman-c++/mainwidget.h')
| -rw-r--r-- | pacman-c++/mainwidget.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index 650a472..6adc876 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | #define MAINWIDGET_H | 2 | #define MAINWIDGET_H |
| 3 | 3 | ||
| 4 | #include "sceneholder.h" | 4 | #include "sceneholder.h" |
| 5 | |||
| 6 | #include "constants.h" | 5 | #include "constants.h" |
| 7 | #include "pixmapitem.h" | 6 | #include "pixmapitem.h" |
| 8 | #include <QtGui> | 7 | #include <QtGui> |
| @@ -16,7 +15,7 @@ class MainWidget | |||
| 16 | Q_OBJECT | 15 | Q_OBJECT |
| 17 | 16 | ||
| 18 | public: | 17 | public: |
| 19 | MainWidget(QMainWindow *window = 0, QWidget *parent = 0); | 18 | MainWidget(QWidget *parent = 0); |
| 20 | 19 | ||
| 21 | protected: | 20 | protected: |
| 22 | // handling of current key | 21 | // handling of current key |
| @@ -35,11 +34,8 @@ private slots: | |||
| 35 | void startGame(); | 34 | void startGame(); |
| 36 | void playerScoreClicked(); | 35 | void playerScoreClicked(); |
| 37 | void tick(); | 36 | void tick(); |
| 38 | void toggleSound() const; | ||
| 39 | 37 | ||
| 40 | private: | 38 | private: |
| 41 | QMainWindow *m_mainwindow; | ||
| 42 | |||
| 43 | // GUI elements needed in the progress of the game | 39 | // GUI elements needed in the progress of the game |
| 44 | QList<QGridLayout*> m_playerScoreLayouts; | 40 | QList<QGridLayout*> m_playerScoreLayouts; |
| 45 | 41 | ||
