summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtXMLConsoleWidget.h')
-rw-r--r--Swift/QtUI/QtXMLConsoleWidget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/QtXMLConsoleWidget.h b/Swift/QtUI/QtXMLConsoleWidget.h
index 0d5a10d..0a10762 100644
--- a/Swift/QtUI/QtXMLConsoleWidget.h
+++ b/Swift/QtUI/QtXMLConsoleWidget.h
@@ -4,6 +4,7 @@
#include "QtTabbable.h"
class QTextEdit;
+class QCheckBox;
namespace Swift {
class QtXMLConsoleWidget : public QtTabbable, public XMLConsoleWidget {
@@ -22,9 +23,10 @@ namespace Swift {
virtual void closeEvent(QCloseEvent* event);
virtual void showEvent(QShowEvent* event);
- void appendText(const String& data);
+ void appendTextIfEnabled(const String& data);
private:
QTextEdit* textEdit;
+ QCheckBox* enabled;
};
}