21 #ifndef __KATE_PLUGINMANAGER_H__
22 #define __KATE_PLUGINMANAGER_H__
26 #include "../interfaces/plugin.h"
27 #include "../interfaces/pluginmanager.h"
32 #include <tqvaluelist.h>
38 KService::Ptr service;
42 typedef TQValueList<KatePluginInfo> KatePluginList;
44 class KatePluginManager :
public TQObject
49 KatePluginManager(TQObject *parent);
52 static KatePluginManager *
self();
56 void loadAllEnabledPlugins ();
57 void unloadAllPlugins ();
59 void enableAllPluginsGUI (KateMainWindow *win);
60 void disableAllPluginsGUI (KateMainWindow *win);
65 void loadPlugin (KatePluginInfo *item);
66 void unloadPlugin (KatePluginInfo *item);
68 void enablePluginGUI (KatePluginInfo *item, KateMainWindow *win);
69 void enablePluginGUI (KatePluginInfo *item);
71 void disablePluginGUI (KatePluginInfo *item, KateMainWindow *win);
72 void disablePluginGUI (KatePluginInfo *item);
74 inline KatePluginList & pluginList () {
return m_pluginList; };
76 Kate::Plugin *plugin (
const TQString &name);
77 bool pluginAvailable (
const TQString &name);
79 Kate::Plugin *loadPlugin (
const TQString &name,
bool permanent=
true);
80 void unloadPlugin (
const TQString &name,
bool permanent=
true);
85 void setupPluginList ();
87 KatePluginList m_pluginList;
This interface provides access to the Kate Plugin Manager.