summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index c9a1844..1138dfb 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -25,8 +25,7 @@
* along with Kaiman; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#ifndef __KAIMAN_MAINWINDOW_H__
-#define __KAIMAN_MAINWINDOW_H__
+#pragma once
#include <QMainWindow>
@@ -36,21 +35,21 @@
#include "outputwindow.h"
#include "luascript.h"
-class MainWindow : public QMainWindow {
-Q_OBJECT
+class MainWindow
+ : public QMainWindow
+{
+ Q_OBJECT
public:
- MainWindow(QString program);
+ MainWindow(QString program);
private slots:
- void reset();
+ void reset();
private:
- CodeEditor *editor;
+ CodeEditor *editor;
- QFileSystemWatcher watcher;
- QString program;
- OutputWindow *out;
- LUAScript *l;
+ QFileSystemWatcher watcher;
+ QString program;
+ OutputWindow *out;
+ LUAScript *l;
};
-
-#endif/*__KAIMAN_MAINWINDOW_H__*/