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

KUtils

kcmultidialog.h

Go to the documentation of this file.
00001 /*
00002    Copyright (c) 2000 Matthias Elter <elter@kde.org>
00003    Copyright (c) 2003 Daniel Molkentin <molkentin@kde.org>
00004    Copyright (c) 2003,2006 Matthias Kretz <kretz@kde.org>
00005 
00006    This library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Library General Public
00008    License as published by the Free Software Foundation; either
00009    version 2 of the License, or (at your option) any later version.
00010 
00011    This library is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014    Library General Public License for more details.
00015 
00016    You should have received a copy of the GNU Library General Public License
00017    along with this library; see the file COPYING.LIB.  If not, write to
00018    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019    Boston, MA 02110-1301, USA.
00020 
00021 */
00022 
00023 #ifndef KCMULTIDIALOG_H
00024 #define KCMULTIDIALOG_H
00025 
00026 #include <kcmoduleinfo.h>
00027 #include <kpagedialog.h>
00028 
00029 class KCMultiDialogPrivate;
00030 
00037 class KUTILS_EXPORT KCMultiDialog : public KPageDialog
00038 {
00039   Q_OBJECT
00040     Q_DECLARE_PRIVATE(KCMultiDialog)
00041 
00042   public:
00048     KCMultiDialog( QWidget *parent = 0 );
00049 
00050 
00054    virtual ~KCMultiDialog();
00055 
00069     KPageWidgetItem* addModule( const QString& module, const QStringList& 
00070                                 args = QStringList() );
00071 
00087     KPageWidgetItem* addModule( const KCModuleInfo& moduleinfo, KPageWidgetItem *parent = 0, 
00088                                 const QStringList& args = QStringList() );
00089 
00093     void clear();
00094 
00095   Q_SIGNALS:
00102     void configCommitted();
00103 
00119     void configCommitted( const QByteArray & componentName );
00120 
00121     protected:
00125         KCMultiDialog(KPageWidget *pageWidget, QWidget *parent, Qt::WFlags flags = 0);
00126         KCMultiDialog(KCMultiDialogPrivate &dd, KPageWidget *pageWidget, QWidget *parent, Qt::WFlags flags = 0);
00127 
00128   protected Q_SLOTS:
00135     void slotDefaultClicked();
00136 
00143     void slotUser1Clicked();
00144 
00151     void slotApplyClicked();
00152 
00159     void slotOkClicked();
00160 
00171     void slotHelpClicked();
00172 
00173     private:
00174         Q_PRIVATE_SLOT(d_func(), void _k_slotCurrentPageChanged(KPageWidgetItem *))
00175         Q_PRIVATE_SLOT(d_func(), void _k_clientChanged())
00176         Q_PRIVATE_SLOT(d_func(), void _k_dialogClosed())
00177 };
00178 
00179 #endif

KUtils

Skip menu "KUtils"
  • Main Page
  • 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