diff options
author | gregory guy <[email protected]> | 2020-11-25 15:16:40 +0100 |
---|---|---|
committer | gregory guy <[email protected]> | 2020-12-01 12:21:04 +0100 |
commit | e33e8edb80936f8dd04729d70c0c991612340d5e (patch) | |
tree | e0b1b8d6098491db4d7d642bed7d5ef5747952d2 /tdefifteen/src/mainwindow.h | |
parent | 4fd2e55a49048dcecdf7ebd7ce7e78b822c06156 (diff) | |
download | tdegames-e33e8edb80936f8dd04729d70c0c991612340d5e.tar.gz tdegames-e33e8edb80936f8dd04729d70c0c991612340d5e.zip |
Turn into a TDE application.
The game is renamed TDEFifteen (original name: q15).
Add icons (Public Domaine, https://commons.wikimedia.org/wiki/File:15-puzzle.svg).
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'tdefifteen/src/mainwindow.h')
-rw-r--r-- | tdefifteen/src/mainwindow.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tdefifteen/src/mainwindow.h b/tdefifteen/src/mainwindow.h new file mode 100644 index 00000000..46391c73 --- /dev/null +++ b/tdefifteen/src/mainwindow.h @@ -0,0 +1,30 @@ +// Author: Denis Kozadaev - (c) 2017-2020 + + +#ifndef __MAIN_WINDOW_H__ +#define __MAIN_WINDOW_H__ + +#include <tdemainwindow.h> +#include <tdepopupmenu.h> + +#include "gameboard.h" + + +class MainWindow : public TDEMainWindow +{ + Q_OBJECT + +public: + MainWindow(TQWidget* parent = 0, const char* name = 0); + ~MainWindow(); + +private: + TDEPopupMenu* mMenu; + GameBoard* mBoard; + +private slots: + void newGame(); + void loadImage(); +}; + +#endif /* __MAIN_WINDOW_H__ */ |