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

KDEUI

configwidget.h

Go to the documentation of this file.
00001 /*
00002  *
00003  * Copyright (C)  2004  Zack Rusin <zack@kde.org>
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 #ifndef SONNET_CONFIGWIDGET_H
00021 #define SONNET_CONFIGWIDGET_H
00022 
00023 #include <QtGui/QWidget>
00024 #include <kdeui_export.h>
00025 
00026 class KConfig;
00027 
00028 namespace Sonnet
00029 {
00031     class KDEUI_EXPORT ConfigWidget : public QWidget
00032     {
00033         Q_OBJECT
00034     public:
00035         ConfigWidget(KConfig *config, QWidget *parent);
00036         ~ConfigWidget();
00037 
00038         bool backgroundCheckingButtonShown() const;
00039 
00048         void setLanguage( const QString &language );
00049 
00056         QString language() const;
00057 
00058     public Q_SLOTS:
00059         void save();
00060         void setBackgroundCheckingButtonShown( bool );
00061         void slotDefault();
00062     protected Q_SLOTS:
00063         void slotChanged();
00064 
00065     Q_SIGNALS:
00070         void configChanged();
00071 
00072     private:
00073         void init(KConfig *config);
00074         void setFromGui();
00075         void setCorrectLanguage( const QStringList& langs ); // remove in KDE5, no implementation anymore
00076 
00077     private:
00078         class Private;
00079         friend class Private;
00080         Private* const d;
00081     };
00082 }
00083 
00084 #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
  • 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