diff options
Diffstat (limited to 'src/plugincontroller.h')
-rw-r--r-- | src/plugincontroller.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/plugincontroller.h b/src/plugincontroller.h index d5c3f423..eb635bb6 100644 --- a/src/plugincontroller.h +++ b/src/plugincontroller.h @@ -6,13 +6,13 @@ #include <kservice.h> -#include <kdevplugincontroller.h> +#include <tdevplugincontroller.h> #include <profileengine.h> class KXMLGUIClient; class KService; -class KDevPlugin; +class TDevPlugin; class KDialogBase; class ProjectInfo; @@ -20,7 +20,7 @@ class ProjectInfo; Plugin controller implementation. Loads and unloads plugins. */ -class PluginController : public KDevPluginController +class PluginController : public TDevPluginController { Q_OBJECT @@ -33,7 +33,7 @@ public: static TQStringList argumentsFromService( const KService::Ptr &service ); - virtual KDevPlugin * loadPlugin( const TQString & serviceType, const TQString & constraint ); + virtual TDevPlugin * loadPlugin( const TQString & serviceType, const TQString & constraint ); virtual void unloadPlugin( const TQString & plugin ); TQString currentProfile() const { return m_profile; } @@ -45,18 +45,18 @@ public: void loadGlobalPlugins( const TQStringList & ignorePlugins = TQStringList() ); - // KDevPlugin * getPlugin( const KService::Ptr &service ); + // TDevPlugin * getPlugin( const KService::Ptr &service ); - virtual KDevPlugin *extension(const TQString &serviceType, const TQString &constraint = ""); + virtual TDevPlugin *extension(const TQString &serviceType, const TQString &constraint = ""); void unloadPlugins( TQStringList const & ); void integratePart(KXMLGUIClient *part); - void integrateAndRememberPart(const TQString &name, KDevPlugin *part); + void integrateAndRememberPart(const TQString &name, TDevPlugin *part); void removePart(KXMLGUIClient* part); - void removeAndForgetPart(const TQString &name, KDevPlugin* part); + void removeAndForgetPart(const TQString &name, TDevPlugin* part); - const TQValueList<KDevPlugin*> loadedPlugins(); + const TQValueList<TDevPlugin*> loadedPlugins(); ProfileEngine &engine() { return m_engine; } @@ -82,10 +82,10 @@ private slots: void unloadPlugins(); private: - static KDevPlugin *loadPlugin( const KService::Ptr &service ); + static TDevPlugin *loadPlugin( const KService::Ptr &service ); - TQDict<KDevPlugin> m_parts; + TQDict<TDevPlugin> m_parts; TQString m_profile; static PluginController *s_instance; |