KControl module classes
Detailed Description
Thwse classes provide the KControl module API.
Classes | |
class | KCModuleContainer |
KCModuleContainer is a convenience class encapsulating several KCModules. More... | |
class | KCModuleInfo |
A class that provides information about a KCModule. More... | |
class | KCModuleLoader |
Loads a KControl Module. More... | |
class | KCModuleProxy |
Encapsulates a KCModule for embedding. More... | |
class | KCModuleProxyIface |
DCOP Interface for KCModule. More... | |
class | KCModuleProxyRootDispatcher |
DCOP interface for communicating with the real module running in root mode. More... | |
class | KCMultiDialog |
A method that offers a KDialogBase containing arbitrary KControl Modules. More... | |
Defines | |
#define | KCMODULECONTAINER(modules, factoryName) |
Define Documentation
|
Value: extern "C" \ { \ KCModule *create_## factoryName(QWidget *parent, const char *name) \ { \ return new KCModuleContainer( parent, name, QString( modules ) ); \ } \ \ bool test_## factoryName() \ { \ QStringList modList = QStringList::split( ",", QString(modules).remove( " " )); \ for ( QStringList::Iterator it = modList.begin(); it != modList.end(); ++it ) \ if ( KCModuleLoader::testModule( *it ) ) \ return true; \ return false; \ } \ } For example: KCMODULECONTAINER( "kcm_fonts, kcm_keyboard,kcm_fonts", misc_modules) The module container takes care of testing the contained modules when being shown, as well as when the module itself is asked whether it should be shown.
Definition at line 188 of file kcmodulecontainer.h. |