24 #include <tdeaction.h>
25 #include <kxmlguiclient.h>
60 TQDomDocument m_document;
66 Plugin( TQObject* parent = 0,
const char* name = 0 );
75 virtual TQString xmlFile()
const;
80 virtual TQString localXMLFile()
const;
89 static void loadPlugins( TQObject *parent,
const TDEInstance * instance );
98 static void loadPlugins( TQObject *parent,
const TQValueList<PluginInfo> &pluginInfos );
107 static void loadPlugins( TQObject *parent,
const TQValueList<PluginInfo> &pluginInfos,
const TDEInstance * instance );
143 static void loadPlugins( TQObject *parent,
KXMLGUIClient* parentGUIClient,
TDEInstance* instance,
bool enableNewPluginsByDefault =
true );
151 static TQPtrList<Plugin> pluginObjects( TQObject *parent );
159 static TQValueList<Plugin::PluginInfo> pluginInfos(
const TDEInstance * instance );
165 static Plugin* loadPlugin( TQObject * parent,
const char* libname );
170 static bool hasPlugin( TQObject* parent,
const TQString& library );
A plugin is the way to add actions to an existing KParts application, or to a Part.
Struct holding information about a plugin.
TQString m_absXMLFileName
full path of most recent filename matching the relative filename
TQString m_relXMLFileName
relative filename, i.e. kpartplugins/name