aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/srceditor.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-19 19:08:06 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-19 19:20:54 +0200
commitaa8aef6ea9bc2823119ca06936aff9828c75d83e (patch)
treeacdfe9ece8f9b0bbefc92b8b1d773d358db2aca8 /qtmips_gui/srceditor.h
parentdb9dd171c658a1ea232abde229da7d59a737eff4 (diff)
downloadqtmips-aa8aef6ea9bc2823119ca06936aff9828c75d83e.tar.gz
qtmips-aa8aef6ea9bc2823119ca06936aff9828c75d83e.tar.bz2
qtmips-aa8aef6ea9bc2823119ca06936aff9828c75d83e.zip
Action to execute external make command and ask for unsaved sources.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/srceditor.h')
-rw-r--r--qtmips_gui/srceditor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/srceditor.h b/qtmips_gui/srceditor.h
index 02650e5..880520e 100644
--- a/qtmips_gui/srceditor.h
+++ b/qtmips_gui/srceditor.h
@@ -55,6 +55,7 @@ public:
bool loadByteArray(const QByteArray &content, QString filename = "");
void setCursorToLine(int ln);
void setFileName(QString filename);
+ bool isModified() const;
private:
QSyntaxHighlighter *highlighter;
void setup_common();