summaryrefslogtreecommitdiffstats
path: root/src/plugincontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugincontroller.h')
-rw-r--r--src/plugincontroller.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/plugincontroller.h b/src/plugincontroller.h
index 9b526e3e..7eae5bda 100644
--- a/src/plugincontroller.h
+++ b/src/plugincontroller.h
@@ -1,8 +1,8 @@
#ifndef __PLUGINCONTROLLER_H__
#define __PLUGINCONTROLLER_H__
-#include <qdict.h>
-#include <qvaluelist.h>
+#include <tqdict.h>
+#include <tqvaluelist.h>
#include <kservice.h>
@@ -29,47 +29,47 @@ public:
~PluginController();
static PluginController *getInstance();
- static QStringList argumentsFromService( const KService::Ptr &service );
+ static TQStringList argumentsFromService( const KService::Ptr &service );
- virtual KDevPlugin * loadPlugin( const QString & serviceType, const QString & constraint );
- virtual void unloadPlugin( const QString & plugin );
+ virtual KDevPlugin * loadPlugin( const TQString & serviceType, const TQString & constraint );
+ virtual void unloadPlugin( const TQString & plugin );
- QString currentProfile() const { return m_profile; }
+ TQString currentProfile() const { return m_profile; }
void loadInitialPlugins();
- void loadProjectPlugins( const QStringList & ignorePlugins );
+ void loadProjectPlugins( const TQStringList & ignorePlugins );
void unloadProjectPlugins();
- void loadGlobalPlugins( const QStringList & ignorePlugins = QStringList() );
+ void loadGlobalPlugins( const TQStringList & ignorePlugins = TQStringList() );
// KDevPlugin * getPlugin( const KService::Ptr &service );
- virtual KDevPlugin *extension(const QString &serviceType, const QString &constraint = "");
+ virtual KDevPlugin *extension(const TQString &serviceType, const TQString &constraint = "");
- void unloadPlugins( QStringList const & );
+ void unloadPlugins( TQStringList const & );
void integratePart(KXMLGUIClient *part);
- void integrateAndRememberPart(const QString &name, KDevPlugin *part);
+ void integrateAndRememberPart(const TQString &name, KDevPlugin *part);
void removePart(KXMLGUIClient* part);
- void removeAndForgetPart(const QString &name, KDevPlugin* part);
+ void removeAndForgetPart(const TQString &name, KDevPlugin* part);
- const QValueList<KDevPlugin*> loadedPlugins();
+ const TQValueList<KDevPlugin*> loadedPlugins();
ProfileEngine &engine() { return m_engine; }
- virtual KURL::List profileResources(const QString &nameFilter);
- virtual KURL::List profileResourcesRecursive(const QString &nameFilter);
+ virtual KURL::List profileResources(const TQString &nameFilter);
+ virtual KURL::List profileResourcesRecursive(const TQString &nameFilter);
//returns the name of an old profile that was unloaded
- QString changeProfile(const QString &newProfile);
+ TQString changeProfile(const TQString &newProfile);
public slots:
void selectPlugins();
signals:
- void loadingPlugin(const QString &plugin);
+ void loadingPlugin(const TQString &plugin);
protected:
PluginController();
@@ -77,15 +77,15 @@ protected:
private slots:
// void slotConfigWidget( KDialogBase* );
void loadCorePlugins();
- void loadPlugins( KTrader::OfferList offers, const QStringList & ignorePlugins = QStringList() );
+ void loadPlugins( KTrader::OfferList offers, const TQStringList & ignorePlugins = TQStringList() );
void unloadPlugins();
private:
static KDevPlugin *loadPlugin( const KService::Ptr &service );
- QDict<KDevPlugin> m_parts;
- QString m_profile;
+ TQDict<KDevPlugin> m_parts;
+ TQString m_profile;
static PluginController *s_instance;