kcmoduleproxy.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef KCMODULEPROXY_H
00021
#define KCMODULEPROXY_H
00022
00023
#include <qwidget.h>
00024
#include <qstringlist.h>
00025
00026
class KCModuleInfo;
00027
class KAboutData;
00028
class KInstance;
00029
class KCModule;
00030
00031
class KCModuleProxy :
public QWidget
00032 {
00033 Q_OBJECT
00034
public:
00035 KCModuleProxy(
const KCModuleInfo & info,
bool withfallback =
false,
00036
QWidget * parent = 0,
const char * name = 0,
00037
const QStringList & args =
QStringList() );
00038 ~KCModuleProxy();
00039
void load();
00040
void save();
00041
void defaults();
00042
QString quickHelp() const;
00043 const
KAboutData * aboutData() const;
00044
int buttons() const;
00045
QString rootOnlyMsg() const;
00046
bool useRootOnlyMsg() const;
00047
KInstance * instance() const;
00048
bool changed() const;
00049
KCModule * realModule() const;
00050 const
KCModuleInfo & moduleInfo() const;
00051
00052 signals:
00053
void changed(
bool );
00054
00055 protected:
00056
void showEvent(
QShowEvent * );
00057
00058 private slots:
00059
void moduleChanged(
bool );
00060
void moduleDestroyed();
00061
00062 private:
00063 class KCModuleProxyPrivate;
00064 KCModuleProxyPrivate * d;
00065 };
00066
00067
00068 #endif
This file is part of the documentation for kutils Library Version 3.3.1.