summaryrefslogtreecommitdiffstats
path: root/src/webengine/api/qquickwebengineview_p.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2016-04-11 15:31:36 +0200
committerMichael BrĂ¼ning <michael.bruning@theqtcompany.com>2016-04-18 13:10:09 +0000
commit7d172fcf39fa2a5d7d5202f20c599eb678f6cb58 (patch)
tree98ece282fa13332cc52352b65f941126f0fc88d5 /src/webengine/api/qquickwebengineview_p.h
parentee2b1e71a80f88de90a03e10a89ba491ef99d308 (diff)
Update spellchecker APIs
* marks new properties in QQuickWebEngineProfile as FINAL * removes QT_NO_SPELLCHECK from API headers * renames spellCheckLanguages() to availableDictionaries() * removes "togle spellcheck" methods and actions * use WEBENGINE_CONFIG instead of CONFIG for disable the feature at compile time: WEBENGINE_CONFIG+=no_spellcheck Done-With: Peter Varga <pvarga@inf.u-szeged.hu> Task-number: QTBUG-52371 Change-Id: I8c8eff497b9e7afe0cec2edc97dec248151487f2 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webengine/api/qquickwebengineview_p.h')
-rw-r--r--src/webengine/api/qquickwebengineview_p.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/webengine/api/qquickwebengineview_p.h b/src/webengine/api/qquickwebengineview_p.h
index 2a4563d70..8015820b7 100644
--- a/src/webengine/api/qquickwebengineview_p.h
+++ b/src/webengine/api/qquickwebengineview_p.h
@@ -241,9 +241,6 @@ public:
RequestClose,
Unselect,
SavePage,
-#if !defined(QT_NO_SPELLCHECK)
- ToggleSpellcheck,
-#endif
WebActionCount
};
Q_ENUM(WebAction)
@@ -473,10 +470,7 @@ public Q_SLOTS:
Q_REVISION(2) void triggerWebAction(WebAction action);
Q_REVISION(3) void printToPdf(const QString &filePath, PrintedPageSizeId pageSizeId = PrintedPageSizeId::A4, PrintedPageOrientation orientation = PrintedPageOrientation::Portrait);
Q_REVISION(3) void printToPdf(const QJSValue &callback, PrintedPageSizeId pageSizeId = PrintedPageSizeId::A4, PrintedPageOrientation orientation = PrintedPageOrientation::Portrait);
-
-#if !defined(QT_NO_SPELLCHECK)
Q_REVISION(3) void replaceMisspelledWord(const QString &replacement);
-#endif
private Q_SLOTS:
void lazyInitialize();