kmail

#include <dictionarycombobox.h>

Signals

void dictionaryChanged (const TQString &dictionary)
void dictionaryChanged (int)

Public Member Functions

 DictionaryComboBox (TQWidget *parent=0, const char *name=0)
TQString currentDictionaryName () const
TQString currentDictionary () const
void setCurrentByDictionaryName (const TQString &dictionaryName)
void setCurrentByDictionary (const TQString &dictionary)
KSpellConfig * spellConfig () const

Protected Slots

void slotDictionaryChanged (int)

Protected Member Functions

void reloadCombo ()

Protected Attributes

TQStringList mDictionaries
KSpellConfig * mSpellConfig
int mDefaultDictionary

Detailed Description

A combo box for selecting the dictionary used for spell checking.

Author
Ingo Kloecker kloec.nosp@m.ker@.nosp@m.kde.o.nosp@m.rg

Definition at line 48 of file dictionarycombobox.h.

Constructor & Destructor Documentation

◆ DictionaryComboBox()

KMail::DictionaryComboBox::DictionaryComboBox ( TQWidget * parent = 0,
const char * name = 0 )

Definition at line 45 of file dictionarycombobox.cpp.

◆ ~DictionaryComboBox()

KMail::DictionaryComboBox::~DictionaryComboBox ( )

Definition at line 57 of file dictionarycombobox.cpp.

Member Function Documentation

◆ currentDictionary()

TQString KMail::DictionaryComboBox::currentDictionary ( ) const

Definition at line 68 of file dictionarycombobox.cpp.

◆ currentDictionaryName()

TQString KMail::DictionaryComboBox::currentDictionaryName ( ) const

Definition at line 63 of file dictionarycombobox.cpp.

◆ dictionaryChanged

void KMail::DictionaryComboBox::dictionaryChanged ( const TQString & dictionary)
signal

Emitted whenever the current dictionary changes.

Either by user intervention or on setCurrentByDictionaryName() or on setCurrentByDictionary().

◆ reloadCombo()

void KMail::DictionaryComboBox::reloadCombo ( )
protected

Definition at line 131 of file dictionarycombobox.cpp.

◆ setCurrentByDictionary()

void KMail::DictionaryComboBox::setCurrentByDictionary ( const TQString & dictionary)

Definition at line 93 of file dictionarycombobox.cpp.

◆ setCurrentByDictionaryName()

void KMail::DictionaryComboBox::setCurrentByDictionaryName ( const TQString & dictionaryName)

Definition at line 77 of file dictionarycombobox.cpp.

◆ slotDictionaryChanged

void KMail::DictionaryComboBox::slotDictionaryChanged ( int idx)
protectedslot

Definition at line 140 of file dictionarycombobox.cpp.

◆ spellConfig()

KSpellConfig * KMail::DictionaryComboBox::spellConfig ( ) const

Definition at line 126 of file dictionarycombobox.cpp.

Member Data Documentation

◆ mDefaultDictionary

int KMail::DictionaryComboBox::mDefaultDictionary
protected

Definition at line 79 of file dictionarycombobox.h.

◆ mDictionaries

TQStringList KMail::DictionaryComboBox::mDictionaries
protected

Definition at line 77 of file dictionarycombobox.h.

◆ mSpellConfig

KSpellConfig* KMail::DictionaryComboBox::mSpellConfig
protected

Definition at line 78 of file dictionarycombobox.h.


The documentation for this class was generated from the following files: