summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/kbill.h
blob: da1a11171655256afcebf4c41a0361e00ca8d6fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/***************************************************************************
                          kbill.h  -  description
                             -------------------
    begin                : Thu Dec 30 16:55:55 CET 1999
    copyright            : (C) 1999 by Jurrien Loonstra
    email                : j.h.loonstra@st.hanze.nl
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef KBILL_H
#define KBILL_H



#include <qmainwindow.h>
#include <qwidget.h>
#include <qpopupmenu.h>

#include "field.h"

class KBill : public QMainWindow
{
  Q_OBJECT
public:
    KBill();
   ~KBill();
    Field* getField();
private:
    QMenuBar *menu;
    QPopupMenu *file, *help;
    Field *field;
    int pauseid;

protected slots:
    void Quit();
    void About();
    void NewGame();
    void Pause();
    void WarpTo();
    void Story();
    void Rules();
    void ViewHighScores();

protected:
    friend class UI;
};

#endif