summaryrefslogtreecommitdiff
path: root/utils/themeeditor/codeeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/codeeditor.h')
-rw-r--r--utils/themeeditor/codeeditor.h3
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:
59 59
60 void lineNumberAreaPaintEvent(QPaintEvent *event); 60 void lineNumberAreaPaintEvent(QPaintEvent *event);
61 int lineNumberAreaWidth(); 61 int lineNumberAreaWidth();
62 void addError(int line){ errors.append(line); }
63 void clearErrors(){ errors.clear(); }
62 64
63protected: 65protected:
64 void resizeEvent(QResizeEvent *event); 66 void resizeEvent(QResizeEvent *event);
@@ -69,6 +71,7 @@ private slots:
69 71
70private: 72private:
71 QWidget *lineNumberArea; 73 QWidget *lineNumberArea;
74 QList<int> errors;
72}; 75};
73 76
74//![codeeditordefinition] 77//![codeeditordefinition]