aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/srceditor.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-20 18:59:56 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-20 22:06:39 +0200
commit758af92799656991c5e5b8d8a72381fb5cd6170f (patch)
treeb00eadbdfbaa6135d5b5d9f88eff942241666bd3 /qtmips_gui/srceditor.h
parentddaf44a6df4f6abd3eebbb07b44dba55596ca33c (diff)
downloadqtmips-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.h3
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