summaryrefslogtreecommitdiffstats
path: root/q15/src/mainwindow.h
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-11-23 16:16:19 +0100
committergregory guy <[email protected]>2020-12-01 12:20:51 +0100
commite4cea29e0476a2c250ee4a265cc51892eb4f6370 (patch)
treeb0225a8e056b0df05e080f2aeaf072f599100b5a /q15/src/mainwindow.h
parent0683f09c4a902a13b826a06ef95377b6352801f8 (diff)
downloadtdegames-e4cea29e0476a2c250ee4a265cc51892eb4f6370.tar.gz
tdegames-e4cea29e0476a2c250ee4a265cc51892eb4f6370.zip
Remove QT4 stuff.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'q15/src/mainwindow.h')
-rw-r--r--q15/src/mainwindow.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/q15/src/mainwindow.h b/q15/src/mainwindow.h
index 1fb9ee77..c45b0c8d 100644
--- a/q15/src/mainwindow.h
+++ b/q15/src/mainwindow.h
@@ -14,35 +14,22 @@
#include <stdlib.h>
-#if QT_VERSION >= 0x040000
-#include <QtGui/QMainWindow>
-#include <QtGui/QMenuBar>
-#include <QtGui/QMenu>
-#else
#include <ntqmainwindow.h>
#include <ntqmenubar.h>
#include <ntqpopupmenu.h>
-#endif
#include "gameboard.h"
class MainWindow:public TQMainWindow
{
Q_OBJECT
+
public:
-#if QT_VERSION >= 0x040000
- MainWindow(QWidget *parent = NULL);
-#else
MainWindow(TQWidget *parent = NULL, const char *name = NULL);
-#endif
~MainWindow();
private:
-#if QT_VERSION >= 0x040000
- QMenu *file;
-#else
TQPopupMenu *file;
-#endif
GameBoard *gb;
private slots: