diff options
Diffstat (limited to 'pacman-c++/client.h')
| -rw-r--r-- | pacman-c++/client.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/pacman-c++/client.h b/pacman-c++/client.h deleted file mode 100644 index 7030683..0000000 --- a/pacman-c++/client.h +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | #ifndef CLIENT_H | ||
| 2 | #define CLIENT_H | ||
| 3 | |||
| 4 | #include "mainwidget.h" | ||
| 5 | #include <QtGui> | ||
| 6 | |||
| 7 | class Client | ||
| 8 | : public QMainWindow | ||
| 9 | { | ||
| 10 | Q_OBJECT | ||
| 11 | public: | ||
| 12 | Client(); | ||
| 13 | QSettings *settings(); | ||
| 14 | |||
| 15 | signals: | ||
| 16 | /* signal gets emitted if mute buttons should update their checked-state */ | ||
| 17 | void setMuteActionsChecked(bool enabled); | ||
| 18 | |||
| 19 | private slots: | ||
| 20 | /* toggles sound */ | ||
| 21 | void toggleSound(); | ||
| 22 | /* mute was changed (emitted by audioplayer/phonon) */ | ||
| 23 | void mutedChanged(bool); | ||
| 24 | /* enable ambient (emitted by action) */ | ||
| 25 | void enableAmbientSound(bool); | ||
| 26 | void showAbout(); | ||
| 27 | |||
| 28 | private: | ||
| 29 | void createMenu(); | ||
| 30 | QPixmap soundIcon(bool enabled = true) const; | ||
| 31 | |||
| 32 | private: | ||
| 33 | MainWidget *m_mainWidget; | ||
| 34 | QSettings *m_settings; | ||
| 35 | bool m_ambientMuted; | ||
| 36 | }; | ||
| 37 | |||
| 38 | #endif // CLIENT_H | ||
