summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetepluginmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopetepluginmanager.h')
-rw-r--r--kopete/libkopete/kopetepluginmanager.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/libkopete/kopetepluginmanager.h b/kopete/libkopete/kopetepluginmanager.h
index 815cf422..a250b091 100644
--- a/kopete/libkopete/kopetepluginmanager.h
+++ b/kopete/libkopete/kopetepluginmanager.h
@@ -19,11 +19,11 @@
#ifndef KOPETEPLUGINMANAGER_H
#define KOPETEPLUGINMANAGER_H
-#include <qmap.h>
-#include <qobject.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qvaluelist.h>
+#include <tqmap.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqvaluelist.h>
#include "kopete_export.h"
@@ -34,7 +34,7 @@ namespace Kopete
class Plugin;
-typedef QValueList<Plugin*> PluginList;
+typedef TQValueList<Plugin*> PluginList;
/**
* @author Duncan Mac-Vicar Prett <duncan@kde.org>
@@ -63,14 +63,14 @@ public:
* You can query all information on the plugins through the KPluginInfo
* interface.
*/
- QValueList<KPluginInfo *> availablePlugins( const QString &category = QString::null ) const;
+ TQValueList<KPluginInfo *> availablePlugins( const TQString &category = TQString::null ) const;
/**
* Returns a list of all plugins that are actually loaded.
* If you omit the category you get all, otherwise it's a filtered list.
* See also @ref availablePlugins().
*/
- PluginList loadedPlugins( const QString &category = QString::null ) const;
+ PluginList loadedPlugins( const TQString &category = TQString::null ) const;
/**
* @brief Search by plugin name. This is the key used as X-KDE-PluginInfo-Name in
@@ -82,7 +82,7 @@ public:
* If you want to also load the plugin you can better use @ref loadPlugin, which returns
* the pointer to the plugin if it's already loaded.
*/
- Plugin *plugin( const QString &pluginName ) const;
+ Plugin *plugin( const TQString &pluginName ) const;
/**
* @return the KPluginInfo for the specified plugin
@@ -117,7 +117,7 @@ public:
*
* Returns false when no appropriate plugin can be found.
*/
- bool setPluginEnabled( const QString &name, bool enabled = true );
+ bool setPluginEnabled( const TQString &name, bool enabled = true );
/**
* This method check if all the plugins are loaded.
@@ -143,12 +143,12 @@ public slots:
*
* See also @ref plugin().
*/
- Plugin *loadPlugin( const QString &pluginId, PluginLoadMode mode = LoadSync );
+ Plugin *loadPlugin( const TQString &pluginId, PluginLoadMode mode = LoadSync );
/**
* @brief Unload the plugin specified by @p pluginName
*/
- bool unloadPlugin( const QString &pluginName );
+ bool unloadPlugin( const TQString &pluginName );
/**
* @brief Loads all the enabled plugins. Also used to reread the
@@ -187,7 +187,7 @@ private slots:
/**
* @brief Cleans up some references if the plugin is destroyed
*/
- void slotPluginDestroyed( QObject *plugin );
+ void slotPluginDestroyed( TQObject *plugin );
/**
* shutdown() starts a timer, when it fires we force all plugins
@@ -221,7 +221,7 @@ private:
* Called by @ref loadPlugin directly or through the queue for async plugin
* loading.
*/
- Plugin * loadPluginInternal( const QString &pluginId );
+ Plugin * loadPluginInternal( const TQString &pluginId );
/**
* @internal
@@ -230,7 +230,7 @@ private:
*
* Returns a null pointer when no plugin info is found.
*/
- KPluginInfo * infoForPluginId( const QString &pluginId ) const;
+ KPluginInfo * infoForPluginId( const TQString &pluginId ) const;
PluginManager();