summaryrefslogtreecommitdiffstats
path: root/src/plugincontroller.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /src/plugincontroller.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;