Sonnet::Speller
#include <Sonnet/Speller>
Public Types | |
enum | Attribute { CheckUppercase , SkipRunTogether , AutoDetectLanguage } |
Detailed Description
Member Enumeration Documentation
◆ Attribute
Constructor & Destructor Documentation
◆ Speller() [1/2]
|
explicit |
Definition at line 66 of file speller.cpp.
◆ ~Speller()
Definition at line 72 of file speller.cpp.
◆ Speller() [2/2]
Definition at line 77 of file speller.cpp.
Member Function Documentation
◆ addToPersonal()
Adds word to the list of of personal words.
- Returns
- true on success
Definition at line 131 of file speller.cpp.
◆ addToSession()
Adds word to the words recognizable in the current session.
- Returns
- true on success
Definition at line 139 of file speller.cpp.
◆ availableBackends()
- Returns
- names of all supported backends (e.g. ISpell, ASpell)
Definition at line 170 of file speller.cpp.
◆ availableDictionaries()
- Returns
- a map of all available dictionaries with language descriptions and their codes. The key is the description, the code the value.
Definition at line 252 of file speller.cpp.
◆ availableLanguageNames()
- Returns
- a localized list of names of supported languages.
Note: use availableDictionaries
Definition at line 182 of file speller.cpp.
◆ availableLanguages()
- Returns
- a list of supported languages.
Note: use availableDictionaries
Definition at line 176 of file speller.cpp.
◆ checkAndSuggest()
Convenience method calling isCorrect() and suggest() if the word isn't correct.
Definition at line 115 of file speller.cpp.
◆ defaultClient()
Definition at line 207 of file speller.cpp.
◆ defaultLanguage()
Definition at line 195 of file speller.cpp.
◆ isCorrect()
Checks the given word.
- Returns
- false if the word is misspelled. true otherwise
Definition at line 91 of file speller.cpp.
◆ isMisspelled()
Checks the given word.
- Returns
- true if the word is misspelled. false otherwise
Definition at line 99 of file speller.cpp.
◆ isValid()
- Returns
true
if the speller supports currently selected language.
Definition at line 241 of file speller.cpp.
◆ language()
- Returns
- language supported by this speller.
Definition at line 147 of file speller.cpp.
◆ operator=()
Definition at line 84 of file speller.cpp.
◆ preferredDictionaries()
- Returns
- a map of user preferred dictionaries with language descriptions and their codes. The key is the description, the code the value.
- Since
- 5.54
Definition at line 265 of file speller.cpp.
◆ restore()
Definition at line 162 of file speller.cpp.
◆ save()
Definition at line 155 of file speller.cpp.
◆ setAttribute()
Definition at line 212 of file speller.cpp.
◆ setDefaultClient()
Definition at line 200 of file speller.cpp.
◆ setDefaultLanguage()
Definition at line 188 of file speller.cpp.
◆ setLanguage()
Sets the language supported by this speller.
Definition at line 246 of file speller.cpp.
◆ storeReplacement()
Stores user defined good replacement for the bad word.
- Returns
true
on success
Definition at line 123 of file speller.cpp.
◆ suggest()
Fetches suggestions for the word.
- Returns
- list of all suggestions for the word
Definition at line 107 of file speller.cpp.
◆ testAttribute()
Definition at line 228 of file speller.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 25 2025 11:51:14 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.