diff options
Diffstat (limited to 'qtmips_gui/srceditor.h')
-rw-r--r-- | qtmips_gui/srceditor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_gui/srceditor.h b/qtmips_gui/srceditor.h index a727f99..9d25be7 100644 --- a/qtmips_gui/srceditor.h +++ b/qtmips_gui/srceditor.h @@ -51,8 +51,10 @@ public: QString title(); bool loadFile(QString filename); bool saveFile(QString filename = ""); + bool loadByteArray(const QByteArray &content, QString filename = ""); void setCursorToLine(int ln); private: + void setup_common(); QString fname; QString tname; }; |