• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkdepim

KPIM::DictionaryComboBox

KPIM::DictionaryComboBox Class Reference

#include <dictionarycombobox.h>

Inheritance diagram for KPIM::DictionaryComboBox:

Inheritance graph
[legend]

List of all members.


Detailed Description

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

Author:
Ingo Kloecker <kloecker@kde.org>

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:
  • dictionarycombobox.h
  • dictionarycombobox.cpp

libkdepim

Skip menu "libkdepim"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal