diff options
Diffstat (limited to 'kue/main.h')
-rw-r--r-- | kue/main.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/kue/main.h b/kue/main.h new file mode 100644 index 00000000..22eea472 --- /dev/null +++ b/kue/main.h @@ -0,0 +1,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 |