summaryrefslogtreecommitdiffstats
path: root/kue/main.h
blob: 22eea472226cacda4153c404dae8616fbd509b67 (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
#ifndef __MAIN_H_
#define __MAIN_H_

#include <tdemainwindow.h>

class TDEAction;

class MainWindow : public TDEMainWindow
{
 TQ_OBJECT
 public:
    static MainWindow* the();

  public slots:
	void toggleMenubar();
	void toggleStatusbar();
	void newGame();
	void endGame();

  protected slots:
	// Called by plugins
	void endGame(const TQString &reason);

  protected:
    MainWindow();
    ~MainWindow();

  private:
	bool _in_game;
	TDEAction *_new_action;
	TDEAction *_end_action;
};

#endif