diff options
author | Marius Kintel <marius@kintel.net> | 2012-02-14 00:30:39 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-02-15 00:32:38 (GMT) |
commit | 7b9b798fdcc507a581735ceb3396a53d0ce71652 (patch) | |
tree | 6943aaa8d4e880c94441b00c7e98a8fbd2ca828e /src/MainWindow.h | |
parent | abcd702a6812abb77317d6fab4f3bdacc273b463 (diff) |
Started on sanitizing compile handling in mainwindow
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index a0353a9..4110b45 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -27,7 +27,7 @@ public: double tval, fps, fsteps; QTimer *autoReloadTimer; - QString autoReloadInfo; + std::string autoReloadId; Context root_ctx; Module *root_module; // Result of parsing @@ -73,9 +73,12 @@ private slots: private: void openFile(const QString &filename); - void load(); + void refreshDocument(); AbstractNode *find_root_tag(AbstractNode *n); - void compile(bool procevents); + void updateTemporalVariables(); + bool fileChangedOnDisk(); + void compileTopLevelDocument(bool reload); + void compile(bool reload, bool procevents); void compileCSG(bool procevents); bool maybeSave(); bool checkModified(); |