summaryrefslogtreecommitdiffstats
path: root/tdefifteen/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdefifteen/src/mainwindow.h')
-rw-r--r--tdefifteen/src/mainwindow.h30
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__ */