KDEUI
dictionarycombobox.cpp
Go to the documentation of this file.
void clear()
const char * name(StandardAction id)
This will return the internal name of a given standard action.
Definition: kstandardaction.cpp:223
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void addItem(const QString &text, const QVariant &userData)
int findText(const QString &text, QFlags< Qt::MatchFlag > flags) const
const char * name() const
bool isEmpty() const
QString currentDictionaryName() const
Returns the current dictionary name, for example "German (Switzerland)".
QVariant itemData(int index, int role) const
void reloadCombo()
Clears the widget and reloads the dictionaries from Sonnet.
QString currentDictionary() const
Returns the current dictionary, for example "de_CH".
QMap< QString, QString > availableDictionaries() const
int findData(const QVariant &data, int role, QFlags< Qt::MatchFlag > flags) const
void setCurrentByDictionaryName(const QString &dictionaryName)
Sets the current dictionaryName to the given dictionaryName.
int currentIndex() const
QString currentText() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString toString() const
void setCurrentByDictionary(const QString &dictionary)
Sets the current dictionary to the given dictionary.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.