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

KDEUI

dictionarycombobox.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2003 Ingo Kloecker <kloecker@kde.org>
00003  *  Copyright (c) 2008 Tom Albers <tomalbers@kde.nl>
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018  * 02110-1301  USA
00019 */
00020 
00021 #ifndef SONNET_DICTIONARYCOMBOBOX_H
00022 #define SONNET_DICTIONARYCOMBOBOX_H
00023 
00024 #include "kdeui_export.h"
00025 
00026 #include <kcombobox.h>
00027 
00028 namespace Sonnet
00029 {
00030 
00038 class KDEUI_EXPORT DictionaryComboBox : public KComboBox
00039 {
00040     Q_OBJECT
00041 public:
00042 
00046     explicit DictionaryComboBox( QWidget * parent=0 );
00047 
00051     ~DictionaryComboBox();
00052 
00057     void reloadCombo();
00058 
00062     QString currentDictionaryName() const;
00063 
00067     QString currentDictionary() const;
00068 
00072     void setCurrentByDictionaryName( const QString & dictionaryName );
00073 
00077     void setCurrentByDictionary( const QString & dictionary );
00078 
00079 Q_SIGNALS:
00085     void dictionaryChanged( const QString & dictionary );
00086 
00092     void dictionaryNameChanged( const QString & dictionaryName );
00093 
00094 private:
00095     class Private;
00096     Private* const d;
00097     Q_PRIVATE_SLOT(d, void slotDictionaryChanged( int ) )
00098 };
00099 
00100 }
00101 
00102 #endif

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
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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