KDECore
Go to the documentation of this file.
21 #ifndef SONNET_SPELLER_H
22 #define SONNET_SPELLER_H
24 #include <QtCore/QStringList>
25 #include <QtCore/QString>
41 Speller(
const QString &lang=QString());
56 void setLanguage(
const QString &lang);
60 QString language()
const;
66 bool isCorrect(
const QString &word)
const;
72 bool isMisspelled(
const QString &word)
const;
79 QStringList suggest(
const QString &word)
const;
85 bool checkAndSuggest(
const QString &word,
86 QStringList &suggestions)
const;
92 bool storeReplacement(
const QString &bad,
99 bool addToPersonal(
const QString &word);
105 bool addToSession(
const QString &word);
118 QStringList availableBackends()
const;
125 QStringList availableLanguages()
const;
131 QStringList availableLanguageNames()
const;
140 void setDefaultLanguage(
const QString &lang);
141 QString defaultLanguage()
const;
143 void setDefaultClient(
const QString &client);
144 QString defaultClient()
const;
146 void setAttribute(Attribute attr,
bool b =
true);
147 bool testAttribute(Attribute attr)
const;
The central class of the KDE configuration data system.
KSharedConfigPtr config()
Returns the general config object.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 00:00:00 by
doxygen 1.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.