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

KDEUI

  • Sonnet
  • DictionaryComboBox
Signals | Public Member Functions
Sonnet::DictionaryComboBox Class Reference

#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 kloec.nosp@m.ker@.nosp@m.kde.o.nosp@m.rg
Tom Albers tomal.nosp@m.bers.nosp@m.@kde..nosp@m.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
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 17:59:38 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • 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
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal