• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDEUI

  • Sonnet
  • DictionaryComboBox
Signals | Public Member Functions

Sonnet::DictionaryComboBox Class Reference

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

#include <dictionarycombobox.h>

Inheritance diagram for Sonnet::DictionaryComboBox:
Inheritance graph
[legend]

List of all members.

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.

Author:
Ingo Kloecker <kloecker@kde.org>
Tom Albers <tomalbers@kde.nl>
Since:
4.2

Definition at line 38 of file dictionarycombobox.h.


Constructor & Destructor Documentation

Sonnet::DictionaryComboBox::DictionaryComboBox ( QWidget *  parent = 0) [explicit]

Constructor.

Sonnet::DictionaryComboBox::~DictionaryComboBox ( )

Destructor.


Member Function Documentation

QString Sonnet::DictionaryComboBox::currentDictionary ( ) const

Returns the current dictionary, for example "de_CH".

QString Sonnet::DictionaryComboBox::currentDictionaryName ( ) const

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)".

void Sonnet::DictionaryComboBox::reloadCombo ( )

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

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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