Sonnet
dictionarycombobox.cpp
currentText
int findData(const QVariant &data, int role, Qt::MatchFlags flags) const const
bool contains(const Key &key) const const
bool assignDictionnaryName(const QString &name)
Sets the current dictionaryName to the given dictionaryName Return true if dictionary was found.
QString currentDictionaryName() const
Returns the current dictionary name, for example "German (Switzerland)".
void reloadCombo()
Clears the widget and reloads the dictionaries from Sonnet.
currentIndex
void insertSeparator(int index)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setCurrentByDictionary(const QString &dictionary)
Sets the current dictionary to the given dictionary.
bool assignByDictionnary(const QString &dictionary)
Sets the current dictionary to the given dictionary Return true if dictionary was found.
void setCurrentByDictionaryName(const QString &dictionaryName)
Sets the current dictionaryName to the given dictionaryName.
QString currentDictionary() const
Returns the current dictionary, for example "de_CH".
bool isEmpty() const const
count
DictionaryComboBox(QWidget *parent=nullptr)
Constructor.
int findText(const QString &text, Qt::MatchFlags flags) const const
QVariant itemData(int index, int role) const const
void clear()
const char * name(StandardAction id)
QMap< QString, QString > availableDictionaries() const
Definition: speller.cpp:250
void addItem(const QString &text, const QVariant &userData)
QMap< QString, QString > preferredDictionaries() const
Definition: speller.cpp:263
char * toString(const EngineQuery &query)
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:56:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:56:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.