libkdepim
KPIM::DictionaryComboBox Class Reference
#include <dictionarycombobox.h>

Detailed Description
A combo box for selecting the dictionary used for spell checking.
Definition at line 51 of file dictionarycombobox.h.
Signals | |
| void | dictionaryChanged (int) |
| void | dictionaryChanged (const QString &dictionary) |
Public Member Functions | |
| QString | currentDictionary () const |
| QString | currentDictionaryName () const |
| DictionaryComboBox (QWidget *parent=0) | |
| QString | realDictionaryName () const |
| void | setCurrentByDictionary (const QString &dictionary) |
| void | setCurrentByDictionaryCode (const QString &dictionaryCode) |
| void | setCurrentByDictionaryName (const QString &dictionaryName) |
| ~DictionaryComboBox () | |
Protected Slots | |
| void | slotDictionaryChanged (int) |
Protected Member Functions | |
| void | reloadCombo () |
Protected Attributes | |
| int | mDefaultDictionary |
| QStringList | mDictionaries |
| Sonnet::Speller * | mspeller |
Constructor & Destructor Documentation
| KPIM::DictionaryComboBox::DictionaryComboBox | ( | QWidget * | parent = 0 |
) |
Definition at line 41 of file dictionarycombobox.cpp.
| KPIM::DictionaryComboBox::~DictionaryComboBox | ( | ) |
Definition at line 50 of file dictionarycombobox.cpp.
Member Function Documentation
| QString KPIM::DictionaryComboBox::currentDictionary | ( | ) | const |
Definition at line 60 of file dictionarycombobox.cpp.
| QString KPIM::DictionaryComboBox::currentDictionaryName | ( | ) | const |
Definition at line 55 of file dictionarycombobox.cpp.
| void KPIM::DictionaryComboBox::dictionaryChanged | ( | int | ) | [signal] |
| void KPIM::DictionaryComboBox::dictionaryChanged | ( | const QString & | dictionary | ) | [signal] |
Emitted whenever the current dictionary changes.
Either by user intervention or on setCurrentByDictionaryName() or on setCurrentByDictionary().
| QString KPIM::DictionaryComboBox::realDictionaryName | ( | ) | const |
Definition at line 71 of file dictionarycombobox.cpp.
| void KPIM::DictionaryComboBox::reloadCombo | ( | ) | [protected] |
Definition at line 134 of file dictionarycombobox.cpp.
| void KPIM::DictionaryComboBox::setCurrentByDictionary | ( | const QString & | dictionary | ) |
Definition at line 92 of file dictionarycombobox.cpp.
| void KPIM::DictionaryComboBox::setCurrentByDictionaryCode | ( | const QString & | dictionaryCode | ) |
Definition at line 125 of file dictionarycombobox.cpp.
| void KPIM::DictionaryComboBox::setCurrentByDictionaryName | ( | const QString & | dictionaryName | ) |
Definition at line 76 of file dictionarycombobox.cpp.
| void KPIM::DictionaryComboBox::slotDictionaryChanged | ( | int | idx | ) | [protected, slot] |
Definition at line 142 of file dictionarycombobox.cpp.
Member Data Documentation
int KPIM::DictionaryComboBox::mDefaultDictionary [protected] |
Definition at line 82 of file dictionarycombobox.h.
QStringList KPIM::DictionaryComboBox::mDictionaries [protected] |
Definition at line 81 of file dictionarycombobox.h.
Sonnet::Speller* KPIM::DictionaryComboBox::mspeller [protected] |
Definition at line 83 of file dictionarycombobox.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference