summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/sync/sinkfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/sync/sinkfactory.h')
-rw-r--r--kipi-plugins/sync/sinkfactory.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kipi-plugins/sync/sinkfactory.h b/kipi-plugins/sync/sinkfactory.h
index 19f9cd9..dd0bd0d 100644
--- a/kipi-plugins/sync/sinkfactory.h
+++ b/kipi-plugins/sync/sinkfactory.h
@@ -19,8 +19,8 @@
#ifndef SINKFACTORY_H
#define SINKFACTORY_H
-#include <qmap.h>
-class QListView;
+#include <tqmap.h>
+class TQListView;
class KConfig;
namespace KWallet
{
@@ -35,23 +35,23 @@ class Sink;
// Create a templated creator function to allow our "sinks" to
// register themselves with the factory.
template <class T>
-Sink* SinkCreator(unsigned int sinkId, QString name, KConfig* pConfig, KWallet::Wallet* pWallet)
+Sink* SinkCreator(unsigned int sinkId, TQString name, KConfig* pConfig, KWallet::Wallet* pWallet)
{
return (Sink*) new T(sinkId, name, pConfig, pWallet);
}
// Define a type that is a pointer to the templated function above.
-typedef Sink* SinkProxy(unsigned int sinkId, QString name, KConfig* pConfig, KWallet::Wallet* pWallet);
+typedef Sink* SinkProxy(unsigned int sinkId, TQString name, KConfig* pConfig, KWallet::Wallet* pWallet);
// And define a type that is a Map of names to creator functions.
-typedef QMap<QString, SinkProxy*> SinkMap;
+typedef TQMap<TQString, SinkProxy*> SinkMap;
// The factory to register and create the sinks
class SinkFactory
{
public:
- static bool Register(QString name, SinkProxy* pSinkProxy);
- static Sink* Create(QString name, unsigned int sinkId, QString name, KConfig* pConfig, KWallet::Wallet* pWallet);
+ static bool Register(TQString name, SinkProxy* pSinkProxy);
+ static Sink* Create(TQString name, unsigned int sinkId, TQString name, KConfig* pConfig, KWallet::Wallet* pWallet);
private:
static SinkMap mSinkProxies;