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

KDEUI

  • sources
  • kde-4.12
  • kdelibs
  • kdeui
  • sonnet
dictionarycombobox.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2003 Ingo Kloecker <kloecker@kde.org>
3  * Copyright (c) 2008 Tom Albers <tomalbers@kde.nl>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18  * 02110-1301 USA
19 */
20 
21 #ifndef SONNET_DICTIONARYCOMBOBOX_H
22 #define SONNET_DICTIONARYCOMBOBOX_H
23 
24 #include "kdeui_export.h"
25 
26 #include <kcombobox.h>
27 
28 namespace Sonnet
29 {
30 
38 class KDEUI_EXPORT DictionaryComboBox : public KComboBox
39 {
40  Q_OBJECT
41 public:
42 
46  explicit DictionaryComboBox( QWidget * parent=0 );
47 
51  ~DictionaryComboBox();
52 
57  void reloadCombo();
58 
62  QString currentDictionaryName() const;
63 
67  QString currentDictionary() const;
68 
72  void setCurrentByDictionaryName( const QString & dictionaryName );
73 
77  void setCurrentByDictionary( const QString & dictionary );
78 
79 Q_SIGNALS:
85  void dictionaryChanged( const QString & dictionary );
86 
92  void dictionaryNameChanged( const QString & dictionaryName );
93 
94 private:
95  class Private;
96  Private* const d;
97  Q_PRIVATE_SLOT(d, void slotDictionaryChanged( int ) )
98 };
99 
100 }
101 
102 #endif
kcombobox.h
QWidget
QString
Sonnet::DictionaryComboBox
A combo box for selecting the dictionary used for spell checking.
Definition: dictionarycombobox.h:38
KComboBox
An enhanced combo box.
Definition: kcombobox.h:148
kdeui_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:13 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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