Diffstat (limited to 'noncore/games/oyatzee/oyatzee.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/oyatzee/oyatzee.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/games/oyatzee/oyatzee.h b/noncore/games/oyatzee/oyatzee.h index 048a733..a38182d 100644 --- a/noncore/games/oyatzee/oyatzee.h +++ b/noncore/games/oyatzee/oyatzee.h | |||
@@ -21,24 +21,25 @@ class QPoint; | |||
21 | 21 | ||
22 | typedef QList<Dice> dicesList; | 22 | typedef QList<Dice> dicesList; |
23 | typedef QList<Resultboard> resultboardList; | 23 | typedef QList<Resultboard> resultboardList; |
24 | typedef QValueList<int> QValueListInt; | 24 | typedef QValueList<int> QValueListInt; |
25 | typedef QList<Player> playerList; | 25 | typedef QList<Player> playerList; |
26 | typedef QMap<int,int> pointMap; | 26 | typedef QMap<int,int> pointMap; |
27 | 27 | ||
28 | class OYatzee : public QMainWindow { | 28 | class OYatzee : public QMainWindow { |
29 | Q_OBJECT | 29 | Q_OBJECT |
30 | public: | 30 | public: |
31 | OYatzee( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 31 | OYatzee( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
32 | ~OYatzee(); | 32 | ~OYatzee(); |
33 | static QString appName() { return QString::fromLatin1("oyatzee"); } | ||
33 | 34 | ||
34 | Game *g(); | 35 | Game *g(); |
35 | DiceWidget *dw; | 36 | DiceWidget *dw; |
36 | Scoreboard *sb; | 37 | Scoreboard *sb; |
37 | 38 | ||
38 | QValueListInt posibilities; | 39 | QValueListInt posibilities; |
39 | playerList ps; | 40 | playerList ps; |
40 | 41 | ||
41 | void setPlayerNumber( const int num ); | 42 | void setPlayerNumber( const int num ); |
42 | void setRoundsNumber( const int num ); | 43 | void setRoundsNumber( const int num ); |
43 | 44 | ||
44 | enum { Ones = 1, | 45 | enum { Ones = 1, |