-rw-r--r-- | noncore/games/kbill/kbill.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/noncore/games/kbill/kbill.h b/noncore/games/kbill/kbill.h new file mode 100644 index 0000000..fbc0c6c --- a/dev/null +++ b/noncore/games/kbill/kbill.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /*************************************************************************** | ||
2 | kbill.h - description | ||
3 | ------------------- | ||
4 | begin : Thu Dec 30 16:55:55 CET 1999 | ||
5 | copyright : (C) 1999 by Jurrien Loonstra | ||
6 | email : j.h.loonstra@st.hanze.nl | ||
7 | ***************************************************************************/ | ||
8 | |||
9 | /*************************************************************************** | ||
10 | * * | ||
11 | * This program is free software; you can redistribute it and/or modify * | ||
12 | * it under the terms of the GNU General Public License as published by * | ||
13 | * the Free Software Foundation; either version 2 of the License, or * | ||
14 | * (at your option) any later version. * | ||
15 | * * | ||
16 | ***************************************************************************/ | ||
17 | |||
18 | #ifndef KBILL_H | ||
19 | #define KBILL_H | ||
20 | |||
21 | |||
22 | |||
23 | #include <qmainwindow.h> | ||
24 | #include <qwidget.h> | ||
25 | #include <qpopupmenu.h> | ||
26 | |||
27 | #include "field.h" | ||
28 | |||
29 | class KBill : public QMainWindow | ||
30 | { | ||
31 | Q_OBJECT | ||
32 | public: | ||
33 | KBill(); | ||
34 | ~KBill(); | ||
35 | Field* getField(); | ||
36 | private: | ||
37 | QMenuBar *menu; | ||
38 | QPopupMenu *file, *help; | ||
39 | Field *field; | ||
40 | int pauseid; | ||
41 | protected slots: | ||
42 | void Quit(); | ||
43 | void About(); | ||
44 | void NewGame(); | ||
45 | void Pause(); | ||
46 | void WarpTo(); | ||
47 | void Story(); | ||
48 | void Rules(); | ||
49 | void ViewHighScores(); | ||
50 | |||
51 | friend class UI; | ||
52 | }; | ||
53 | |||
54 | #endif | ||