diff options
Diffstat (limited to 'src/webengine')
-rw-r--r-- | src/webengine/api/qquickwebengineprofile.cpp | 25 | ||||
-rw-r--r-- | src/webengine/api/qquickwebengineprofile.h | 1 |
2 files changed, 0 insertions, 26 deletions
diff --git a/src/webengine/api/qquickwebengineprofile.cpp b/src/webengine/api/qquickwebengineprofile.cpp index d7a84c106..cf9d7ab2f 100644 --- a/src/webengine/api/qquickwebengineprofile.cpp +++ b/src/webengine/api/qquickwebengineprofile.cpp @@ -613,31 +613,6 @@ QQuickWebEngineProfile *QQuickWebEngineProfile::defaultProfile() } /*! - \qmlmethod void QQuickWebEngineProfile::availableDictionaries() - - Returns the subset of \a languages supported by the spell checker. - Checks whether the spell checker dictionary is installed for the specified - language from the \a languages list. If the dictionary file is missing - or corrupted, the language is removed from the returned list. - - \since QtWebEngine 1.3 -*/ - -/*! - Returns the subset of \a languages supported by the spell checker. - Checks whether the spell checker dictionary is installed for the specified - language from the \a languages list. If the dictionary file is missing - or corrupted, the language is removed from the returned list. - - \since QtWebEngine 1.3 -*/ -QStringList QQuickWebEngineProfile::availableDictionaries(const QStringList &languages) -{ - const Q_D(QQuickWebEngineProfile); - return d->browserContext()->spellCheckLanguages(languages); -} - -/*! \property QQuickWebEngineProfile::spellCheckLanguage \brief the language used by the spell checker. diff --git a/src/webengine/api/qquickwebengineprofile.h b/src/webengine/api/qquickwebengineprofile.h index 8d120d10e..273375fc6 100644 --- a/src/webengine/api/qquickwebengineprofile.h +++ b/src/webengine/api/qquickwebengineprofile.h @@ -131,7 +131,6 @@ public: void clearHttpCache(); - Q_REVISION(2) Q_INVOKABLE QStringList availableDictionaries(const QStringList &languages); Q_REVISION(2) void setSpellCheckLanguage(const QString &language); Q_REVISION(2) QString spellCheckLanguage() const; Q_REVISION(2) void setSpellCheckEnabled(bool enabled); |