summaryrefslogtreecommitdiffstats
path: root/libkdepim/pluginloaderbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/pluginloaderbase.h')
-rw-r--r--libkdepim/pluginloaderbase.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/libkdepim/pluginloaderbase.h b/libkdepim/pluginloaderbase.h
index fd63cf69..ba7e12fd 100644
--- a/libkdepim/pluginloaderbase.h
+++ b/libkdepim/pluginloaderbase.h
@@ -22,8 +22,8 @@
#ifndef __LIBKDEPIM_PLUGINLOADERBASE_H__
#define __LIBKDEPIM_PLUGINLOADERBASE_H__
-#include <qstring.h>
-#include <qmap.h>
+#include <tqstring.h>
+#include <tqmap.h>
#include <kdepimmacros.h>
@@ -35,13 +35,13 @@ namespace KPIM {
class KDE_EXPORT PluginMetaData {
public:
PluginMetaData() {}
- PluginMetaData( const QString & lib, const QString & name,
- const QString & comment )
+ PluginMetaData( const TQString & lib, const TQString & name,
+ const TQString & comment )
: library( lib ), nameLabel( name ),
descriptionLabel( comment ), loaded( false ) {}
- QString library;
- QString nameLabel;
- QString descriptionLabel;
+ TQString library;
+ TQString nameLabel;
+ TQString descriptionLabel;
mutable bool loaded;
};
@@ -52,10 +52,10 @@ namespace KPIM {
public:
/** Returns a list of all available plugin objects (of kind @p T) */
- QStringList types() const;
+ TQStringList types() const;
/** Returns the @ref PluginMetaData structure for a given type */
- const PluginMetaData * infoForName( const QString & type ) const;
+ const PluginMetaData * infoForName( const TQString & type ) const;
/** Overload this method in subclasses to call @ref doScan with
the right @p path argument */
@@ -71,11 +71,11 @@ namespace KPIM {
/** Returns a pointer to symbol @p main_func in the library that
implements the plugin of type @p type */
- void * mainFunc( const QString & type, const char * main_func ) const;
+ void * mainFunc( const TQString & type, const char * main_func ) const;
private:
- const KLibrary * openLibrary( const QString & libName ) const;
- QMap< QString, PluginMetaData > mPluginMap;
+ const KLibrary * openLibrary( const TQString & libName ) const;
+ TQMap< TQString, PluginMetaData > mPluginMap;
class Private;
Private * d;