KDEUI
#include <dictionarycombobox.h>

Signals | |
| void | dictionaryChanged (const QString &dictionary) |
| void | dictionaryNameChanged (const QString &dictionaryName) |
Public Member Functions | |
| DictionaryComboBox (QWidget *parent=0) | |
| ~DictionaryComboBox () | |
| QString | currentDictionary () const |
| QString | currentDictionaryName () const |
| void | reloadCombo () |
| void | setCurrentByDictionary (const QString &dictionary) |
| void | setCurrentByDictionaryName (const QString &dictionaryName) |
Detailed Description
A combo box for selecting the dictionary used for spell checking.
- Since:
- 4.2
Definition at line 38 of file dictionarycombobox.h.
Constructor & Destructor Documentation
| Sonnet::DictionaryComboBox::DictionaryComboBox | ( | QWidget * | parent = 0 | ) | [explicit] |
Constructor.
Destructor.
Member Function Documentation
Returns the current dictionary, for example "de_CH".
Returns the current dictionary name, for example "German (Switzerland)".
| void Sonnet::DictionaryComboBox::dictionaryChanged | ( | const QString & | dictionary | ) | [signal] |
Emitted whenever the current dictionary changes.
Either by user intervention or on setCurrentByDictionaryName() or on setCurrentByDictionary(). For example "de_CH".
| void Sonnet::DictionaryComboBox::dictionaryNameChanged | ( | const QString & | dictionaryName | ) | [signal] |
Emitted whenever the current dictionary changes.
Either by user intervention or on setCurrentByDictionaryName() or on setCurrentByDictionary(). For example "German (Switzerland)".
Clears the widget and reloads the dictionaries from Sonnet.
Remember to set the dictionary you want selected after calling this function.
| void Sonnet::DictionaryComboBox::setCurrentByDictionary | ( | const QString & | dictionary | ) |
Sets the current dictionary to the given dictionary.
| void Sonnet::DictionaryComboBox::setCurrentByDictionaryName | ( | const QString & | dictionaryName | ) |
Sets the current dictionaryName to the given dictionaryName.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:53:17 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.