Sonnet
dictionarycombobox.h
A combo box for selecting the dictionary used for spell checking.
DictionaryComboBox(QWidget *parent=nullptr)
Constructor.
void setCurrentByDictionaryName(const QString &dictionaryName)
Sets the current dictionaryName to the given dictionaryName.
QString currentDictionaryName() const
Returns the current dictionary name, for example "German (Switzerland)".
bool assignByDictionnary(const QString &dictionary)
Sets the current dictionary to the given dictionary Return true if dictionary was found.
bool assignDictionnaryName(const QString &name)
Sets the current dictionaryName to the given dictionaryName Return true if dictionary was found.
void dictionaryChanged(const QString &dictionary)
Emitted whenever the current dictionary changes.
void reloadCombo()
Clears the widget and reloads the dictionaries from Sonnet.
void dictionaryNameChanged(const QString &dictionaryName)
Emitted whenever the current dictionary changes.
void setCurrentByDictionary(const QString &dictionary)
Sets the current dictionary to the given dictionary.
QString currentDictionary() const
Returns the current dictionary, for example "de_CH".
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.