summaryrefslogtreecommitdiffstats
path: root/libkdepim/komposer/core/pluginmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/komposer/core/pluginmanager.h')
-rw-r--r--libkdepim/komposer/core/pluginmanager.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/libkdepim/komposer/core/pluginmanager.h b/libkdepim/komposer/core/pluginmanager.h
index b19f8ad2..179cf48d 100644
--- a/libkdepim/komposer/core/pluginmanager.h
+++ b/libkdepim/komposer/core/pluginmanager.h
@@ -24,11 +24,11 @@
#ifndef KOMPOSER_PLUGINMANAGER_H
#define KOMPOSER_PLUGINMANAGER_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>
class KPluginInfo;
@@ -42,7 +42,7 @@ namespace Komposer
Q_OBJECT
public:
- PluginManager( QObject * );
+ PluginManager( TQObject * );
~PluginManager();
@@ -56,16 +56,16 @@ namespace Komposer
* You can query all information on the plugins through the @ref 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().
*/
- QMap<KPluginInfo*, Plugin*> loadedPlugins( const QString &category
- = QString::null ) const;
+ TQMap<KPluginInfo*, Plugin*> loadedPlugins( const TQString &category
+ = TQString::null ) const;
/**
* @brief Search by plugin name. This is the key used as X-KDE-PluginInfo-Name
@@ -78,7 +78,7 @@ namespace Komposer
* which returns
* the pointer to the plugin if it's already loaded.
*/
- Plugin* plugin( const QString &pluginName ) const;
+ Plugin* plugin( const TQString &pluginName ) const;
/**
* @brief Return the short user-visible name of the plugin.
@@ -87,7 +87,7 @@ namespace Komposer
*
* @return The name of the protocol, in the user's locale.
*/
- QString pluginName( const Plugin *plugin ) const;
+ TQString pluginName( const Plugin *plugin ) const;
/**
* @brief Return the internal name of the plugin.
@@ -97,12 +97,12 @@ namespace Komposer
*
* @return The name of the protocol, in the user's locale.
*/
- QString pluginId( const Plugin *plugin ) const;
+ TQString pluginId( const Plugin *plugin ) const;
/**
* @brief Unload the plugin specified by @p pluginName
*/
- bool unloadPlugin( const QString &pluginName );
+ bool unloadPlugin( const TQString &pluginName );
/**
* @brief Retrieve the name of the icon for a @ref Plugin.
@@ -110,7 +110,7 @@ namespace Komposer
* @return An empty string if the given plugin is not loaded
* or the filename of the icon to use.
*/
- QString pluginIcon( const Plugin *plugin ) const;
+ TQString pluginIcon( const Plugin *plugin ) const;
/**
* Shuts down the plugin manager on Komposer shutdown, but first
@@ -138,7 +138,7 @@ namespace Komposer
*
* 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 );
/**
* Plugin loading mode. Used by @loadPlugin. Code that doesn't want to block
@@ -158,7 +158,7 @@ namespace Komposer
*
* See also @ref plugin().
*/
- Plugin* loadPlugin( const QString &pluginId, PluginLoadMode mode = LoadSync );
+ Plugin* loadPlugin( const TQString &pluginId, PluginLoadMode mode = LoadSync );
/**
* @brief Loads all the enabled plugins. Also used to reread the
@@ -197,7 +197,7 @@ namespace Komposer
/**
* @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
@@ -231,7 +231,7 @@ namespace Komposer
* Called by @ref loadPlugin directly or through the queue for async plugin
* loading.
*/
- Plugin *loadPluginInternal( const QString &pluginId );
+ Plugin *loadPluginInternal( const TQString &pluginId );
/**
* @internal
@@ -240,7 +240,7 @@ namespace Komposer
*
* Returns a null pointer when no plugin info is found.
*/
- KPluginInfo *infoForPluginId( const QString &pluginId ) const;
+ KPluginInfo *infoForPluginId( const TQString &pluginId ) const;
private:
class Private;
Private *d;