20 #ifndef TDECMODULECONTAINER_H 21 #define TDECMODULECONTAINER_H 23 #include <tqvaluelist.h> 25 #include <tqstringlist.h> 27 #include <tdecmodule.h> 28 #include <tdecmoduleloader.h> 87 TDECModuleContainer( TQWidget *parent,
const char* name,
const TQString& mods = TQString() );
96 void addModule(
const TQString& module );
137 typedef TQValueList<TDECModuleProxy*> ModuleList;
155 void tabSwitched( TQWidget * module );
173 class TDECModuleContainerPrivate;
174 TDECModuleContainerPrivate *d;
194 #define KCMODULECONTAINER( modules, factoryName ) \ 197 TDECModule *create_## factoryName(TQWidget *parent, const char *name) \ 199 return new TDECModuleContainer( parent, name, TQString( modules ) ); \ 202 bool test_## factoryName() \ 204 TQStringList modList = TQStringList::split( ",", TQString(modules).remove( " " )); \ 205 for ( TQStringList::Iterator it = modList.begin(); it != modList.end(); ++it ) \ 206 if ( TDECModuleLoader::testModule( *it ) ) \ 212 #endif // TDECMODULECONTAINER_H ModuleList allModules
A list of all modules which are encapsulated.
ModuleList changedModules
A list containing TDECModuleProxy objects which have changed and must be saved.
TDECModuleContainer is a convenience class encapsulating several TDECModules.
virtual TQString handbookSection() const
Encapsulates a TDECModule for embedding.