summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-09-05 19:57:14 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-09-05 19:57:14 +0200
commit4ae6300717a10c7fa850b800f18a730aee1d3e07 (patch)
tree455ae17634f5bbd8b18ce3a256db2647853bd600 /src/mainwindow.h
parentf4b015398462fff1a64d70b632390b4f06fe3bbe (diff)
Internal code editor. Sound system.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 1376a84..c9a1844 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -28,14 +28,15 @@
#ifndef __KAIMAN_MAINWINDOW_H__
#define __KAIMAN_MAINWINDOW_H__
-#include <QWidget>
+#include <QMainWindow>
#include <QFileSystemWatcher>
+#include "codeeditor.h"
#include "outputwindow.h"
#include "luascript.h"
-class MainWindow : public QWidget {
+class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow(QString program);
@@ -44,6 +45,8 @@ private slots:
void reset();
private:
+ CodeEditor *editor;
+
QFileSystemWatcher watcher;
QString program;
OutputWindow *out;