diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-20 18:59:56 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-20 22:06:39 +0200 |
commit | 758af92799656991c5e5b8d8a72381fb5cd6170f (patch) | |
tree | b00eadbdfbaa6135d5b5d9f88eff942241666bd3 /qtmips_gui/srceditor.h | |
parent | ddaf44a6df4f6abd3eebbb07b44dba55596ca33c (diff) | |
download | qtmips-758af92799656991c5e5b8d8a72381fb5cd6170f.tar.gz qtmips-758af92799656991c5e5b8d8a72381fb5cd6170f.tar.bz2 qtmips-758af92799656991c5e5b8d8a72381fb5cd6170f.zip |
Add embedded examples menu and resources.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/srceditor.h')
-rw-r--r-- | qtmips_gui/srceditor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_gui/srceditor.h b/qtmips_gui/srceditor.h index 880520e..328bfb1 100644 --- a/qtmips_gui/srceditor.h +++ b/qtmips_gui/srceditor.h @@ -56,11 +56,14 @@ public: void setCursorToLine(int ln); void setFileName(QString filename); bool isModified() const; + void setSaveAsRequired(bool val); + bool saveAsRequired(); private: QSyntaxHighlighter *highlighter; void setup_common(); QString fname; QString tname; + bool saveAsRequiredFl; }; #endif // SRCEDITOR_H |