diff options
| author | manuel <manuel@mausz.at> | 2011-05-05 00:57:07 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-05-05 00:57:07 +0200 |
| commit | ce48af53646cd9e7ec762fc1ac176b3aa620b11d (patch) | |
| tree | f8fbf2cae8c7d0cbac2696a8f4cf94410bfb4928 /pacman-c++/client.h | |
| parent | e54ccad07e256ba877bd41d70bd358bd0085bd1e (diff) | |
| download | foop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.tar.gz foop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.tar.bz2 foop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.zip | |
- refactorized the whole project and made a few subprojects
- replaced tcp with enet
- added connect dialog
- some smaller bugfixes
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 | ||
