summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qwebengineprofile.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2016-04-28 11:32:24 +0200
committerMichal Klocek <michal.klocek@theqtcompany.com>2016-05-06 20:17:08 +0000
commitd364c05de52f9ab39034e56cac4e0a7981dc541d (patch)
tree66f9fba711bb49536b577ef3552c4ddf7006ad6b /src/webenginewidgets/api/qwebengineprofile.cpp
parente87ba5b27bf753498adb00eef53f224c1123d25f (diff)
Remove spellchecking support
Spellchecking API needs a bit more reviews and love. Current API is not intuitive and partly broken. Change-Id: Ie9cd371f38cca2f6b3f56a8699ad874cd332c318 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebengineprofile.cpp')
-rw-r--r--src/webenginewidgets/api/qwebengineprofile.cpp61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile.cpp b/src/webenginewidgets/api/qwebengineprofile.cpp
index 361a60944..664323034 100644
--- a/src/webenginewidgets/api/qwebengineprofile.cpp
+++ b/src/webenginewidgets/api/qwebengineprofile.cpp
@@ -556,67 +556,6 @@ QWebEngineProfile *QWebEngineProfile::defaultProfile()
}
/*!
- \since 5.7
-
- Sets the current \a language for the spell checker.
- The language should match the name of the \c .bdic dictionary.
- For example, the \a language \c en-US will load the \c en-US.bdic
- dictionary file.
-
- The web engine checks for the \c qtwebengine_dictionaries subdirectory
- first in the local directory and if it is not found in the Qt
- installation directory:
-
- \list
- \li QCoreApplication::applicationDirPath()/qtwebengine_dictionaries
- \li [QLibraryInfo::DataPath]/qtwebengine_dictionaries
- \endlist
-
- For more information about how to compile \c .bdic dictionaries, see the
- \l{WebEngine Widgets Spellchecker Example}{Spellchecker Example}.
-
-*/
-void QWebEngineProfile::setSpellCheckLanguage(const QString &language)
-{
- Q_D(QWebEngineProfile);
- d->browserContext()->setSpellCheckLanguage(language);
-}
-
-/*!
- \since 5.7
-
- Returns the language used by the spell checker.
-*/
-QString QWebEngineProfile::spellCheckLanguage() const
-{
- const Q_D(QWebEngineProfile);
- return d->browserContext()->spellCheckLanguage();
-}
-
-/*!
- \since 5.7
-
- Enables spell checker if \a enable is \c true, otherwise disables it.
- \sa isSpellCheckEnabled()
- */
-void QWebEngineProfile::setSpellCheckEnabled(bool enable)
-{
- Q_D(QWebEngineProfile);
- d->browserContext()->setSpellCheckEnabled(enable);
-}
-/*!
- \since 5.7
-
- Returns \c true if the spell checker is enabled; otherwise returns \c false.
- \sa setSpellCheckEnabled()
- */
-bool QWebEngineProfile::isSpellCheckEnabled() const
-{
- const Q_D(QWebEngineProfile);
- return d->browserContext()->isSpellCheckEnabled();
-}
-
-/*!
Returns the default settings for all pages in this profile.
*/
QWebEngineSettings *QWebEngineProfile::settings() const