summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/mainwidget.h')
-rw-r--r--pacman-c++/mainwidget.h6
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
18public: 17public:
19 MainWidget(QMainWindow *window = 0, QWidget *parent = 0); 18 MainWidget(QWidget *parent = 0);
20 19
21protected: 20protected:
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
40private: 38private:
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