diff options
Diffstat (limited to 'utils/themeeditor/codeeditor.h')
-rw-r--r-- | utils/themeeditor/codeeditor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/themeeditor/codeeditor.h b/utils/themeeditor/codeeditor.h index edbe218ec4..ec36d50c22 100644 --- a/utils/themeeditor/codeeditor.h +++ b/utils/themeeditor/codeeditor.h @@ -59,6 +59,8 @@ public: void lineNumberAreaPaintEvent(QPaintEvent *event); int lineNumberAreaWidth(); + void addError(int line){ errors.append(line); } + void clearErrors(){ errors.clear(); } protected: void resizeEvent(QResizeEvent *event); @@ -69,6 +71,7 @@ private slots: private: QWidget *lineNumberArea; + QList<int> errors; }; //![codeeditordefinition] |