summaryrefslogtreecommitdiffstats
path: root/libkdepim/pluginloaderbase.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkdepim/pluginloaderbase.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 fd63cf690..ba7e12fd3 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;