diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2016-04-11 15:31:36 +0200 |
---|---|---|
committer | Michael BrĂ¼ning <michael.bruning@theqtcompany.com> | 2016-04-18 13:10:09 +0000 |
commit | 7d172fcf39fa2a5d7d5202f20c599eb678f6cb58 (patch) | |
tree | 98ece282fa13332cc52352b65f941126f0fc88d5 /src/webenginewidgets/api/qwebengineprofile.h | |
parent | ee2b1e71a80f88de90a03e10a89ba491ef99d308 (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/webenginewidgets/api/qwebengineprofile.h')
-rw-r--r-- | src/webenginewidgets/api/qwebengineprofile.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile.h b/src/webenginewidgets/api/qwebengineprofile.h index 1a9bfe43a..9c473eee9 100644 --- a/src/webenginewidgets/api/qwebengineprofile.h +++ b/src/webenginewidgets/api/qwebengineprofile.h @@ -121,13 +121,11 @@ public: void clearHttpCache(); -#if !defined(QT_NO_SPELLCHECK) - QStringList spellCheckLanguages(const QStringList &acceptLanguages); + QStringList availableDictionaries(const QStringList &languages); void setSpellCheckLanguage(const QString &language); QString spellCheckLanguage() const; void setSpellCheckEnabled(bool enabled); bool isSpellCheckEnabled() const; -#endif static QWebEngineProfile *defaultProfile(); |