componentsdialog.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef KSETTINGS_COMPONENTSDIALOG_H
00021 #define KSETTINGS_COMPONENTSDIALOG_H
00022 
00023 #include <kdialogbase.h>
00024 
00025 class QString;
00026 class KPluginInfo;
00027 
00028 namespace KSettings
00029 {
00030 
00038 class ComponentsDialog : public KDialogBase
00039 {
00040     Q_OBJECT
00041     public:
00048         ComponentsDialog( QWidget * parent = 0, const char * name = 0 );
00049         ~ComponentsDialog();
00050 
00054         void setPluginInfos( const QMap<QString, KPluginInfo*> & plugininfos );
00058         void setPluginInfos( const QValueList<KPluginInfo *> &plugins );
00059 
00063         void show();
00064 
00065     protected slots:
00066         void slotOk();
00067         void slotApply();
00068 
00069     private slots:
00070         void executed( QListViewItem * );
00071 
00072     private:
00073         void savePluginInfos();
00074 
00075         class ComponentsDialogPrivate;
00076         ComponentsDialogPrivate * d;
00077 };
00078 
00079 }
00080 
00081 
00082 #endif // KSETTINGS_COMPONENTSDIALOG_H
 
This file is part of the documentation for kutils Library Version 3.2.0.