Classes | |
class | KCMultiDialog |
class | TDECModuleContainer |
class | TDECModuleInfo |
class | TDECModuleLoader |
class | TDECModuleProxy |
class | TDECModuleProxyIface |
class | TDECModuleProxyRootDispatcher |
Macros | |
#define | KCMODULECONTAINER(modules, factoryName) |
Enumerations | |
enum | TDECModuleLoader::ErrorReporting { TDECModuleLoader::None = 0, TDECModuleLoader::Inline = 1, TDECModuleLoader::Dialog = 2, TDECModuleLoader::Both = 3 } |
Detailed Description
Thwse classes provide the KControl module API.
Macro Definition Documentation
#define KCMODULECONTAINER | ( | modules, | |
factoryName | |||
) |
This macro creates an factory declaration which when run creates an TDECModule with specified modules.
For example:
would create a TDECModule with three tabs, each containing one of the specified KCMs. Each use of the macro must be accompanied by a desktop file where the factory name equals the second argument in the macro(in this example, 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.
- Parameters
-
modules the modules to put in the container factoryName what factory name the module should have
Definition at line 194 of file tdecmodulecontainer.h.
Enumeration Type Documentation
Determines the way errors are reported.
Enumerator | |
---|---|
None |
no error reporting is done |
Inline |
the error report is shown instead of the TDECModule that should have * been loaded |
Dialog |
shows a dialog with the error report |
Both |
does both Inline and Dialog |
Definition at line 84 of file tdecmoduleloader.h.