summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/textdocumenthandler.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-30 18:06:31 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-30 18:06:31 +0200
commit2bf195a1f5cbf5f473cbbcc929ad64d675e829cb (patch)
treef5070a61bb505fb66413a95c817a952367ffc08d /framework/src/domain/textdocumenthandler.h
parent8dc99625d54dbe15816b4b4d0f6c87850289d30d (diff)
downloadkube-2bf195a1f5cbf5f473cbbcc929ad64d675e829cb.tar.gz
kube-2bf195a1f5cbf5f473cbbcc929ad64d675e829cb.zip
Removed the html switch.
Instead of having a switch we're going to always use an html editor, and simply send as plaintext if there is no formatting. To easily remove all formatting a button is added.
Diffstat (limited to 'framework/src/domain/textdocumenthandler.h')
-rw-r--r--framework/src/domain/textdocumenthandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/src/domain/textdocumenthandler.h b/framework/src/domain/textdocumenthandler.h
index 38de917d..cb4d4e29 100644
--- a/framework/src/domain/textdocumenthandler.h
+++ b/framework/src/domain/textdocumenthandler.h
@@ -87,6 +87,7 @@ public:
87 void setFontSize(int size); 87 void setFontSize(int size);
88 88
89 Q_INVOKABLE void resetFormat(); 89 Q_INVOKABLE void resetFormat();
90 Q_INVOKABLE bool containsFormatting();
90 91
91 Q_INVOKABLE static bool isHtml(const QString &); 92 Q_INVOKABLE static bool isHtml(const QString &);
92 93