summaryrefslogtreecommitdiffstats
path: root/pacman-c++/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/client.h')
-rw-r--r--pacman-c++/client.h38
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
7class Client
8 : public QMainWindow
9{
10 Q_OBJECT
11public:
12 Client();
13 QSettings *settings();
14
15signals:
16 /* signal gets emitted if mute buttons should update their checked-state */
17 void setMuteActionsChecked(bool enabled);
18
19private 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
28private:
29 void createMenu();
30 QPixmap soundIcon(bool enabled = true) const;
31
32private:
33 MainWidget *m_mainWidget;
34 QSettings *m_settings;
35 bool m_ambientMuted;
36};
37
38#endif // CLIENT_H