dialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef KSETTINGS_DIALOG_H
00021
#define KSETTINGS_DIALOG_H
00022
00023
#include <qobject.h>
00024
#include <kservice.h>
00025
00026
template<
class T>
class QValueList;
00027
class KPluginInfo;
00028
class KCMultiDialog;
00029
class KCModuleInfo;
00030
00031
namespace KSettings
00032 {
00033
00071 class Dialog :
public QObject
00072 {
00073
friend class PageNode;
00074 Q_OBJECT
00075
public:
00081 enum ContentInListView
00082 {
00086
Static,
00091
Configurable
00092 };
00093
00103
Dialog(
QWidget * parent = 0,
const char * name = 0 );
00104
00116
Dialog( ContentInListView content = Static,
QWidget * parent = 0,
00117
const char * name = 0 );
00118
00132
Dialog(
const QStringList & components,
QWidget * parent = 0,
00133
const char * name = 0 );
00134
00150
Dialog(
const QStringList & components, ContentInListView
00151 content,
QWidget * parent = 0,
const char * name = 0 );
00152
00153 ~
Dialog();
00154
00159
void addPluginInfos(
const QValueList<KPluginInfo*> & plugininfos );
00160
00161
KCMultiDialog * dialog();
00162
00163
public slots:
00168
void show();
00169
00170 signals:
00178
void pluginSelectionChanged();
00179
00180
protected slots:
00181
void configureTree();
00182
void updateTreeList();
00183
00184
private:
00189
bool isPluginForKCMEnabled(
KCModuleInfo * ) const;
00190
00191
QValueList<
KService::Ptr> instanceServices() const;
00192
QValueList<
KService::Ptr> parentComponentsServices(
00193 const
QStringList & ) const;
00198
void parseGroupFile( const
QString & );
00199
00205
QStringList parentModuleNames(
KCModuleInfo * );
00206
00213
void createDialogFromServices();
00214
00215 class DialogPrivate;
00216 DialogPrivate * d;
00217 };
00218
00219 }
00220
00221
00222 #endif
This file is part of the documentation for kutils Library Version 3.3.0.