summaryrefslogtreecommitdiffstats
path: root/akregator/src/storagefactoryregistry.cpp
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 /akregator/src/storagefactoryregistry.cpp
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 'akregator/src/storagefactoryregistry.cpp')
-rw-r--r--akregator/src/storagefactoryregistry.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/akregator/src/storagefactoryregistry.cpp b/akregator/src/storagefactoryregistry.cpp
index afe4422f2..a175df9da 100644
--- a/akregator/src/storagefactoryregistry.cpp
+++ b/akregator/src/storagefactoryregistry.cpp
@@ -27,9 +27,9 @@
#include <kstaticdeleter.h>
-#include <qmap.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqmap.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
namespace Akregator {
namespace Backend {
@@ -37,7 +37,7 @@ namespace Backend {
class StorageFactoryRegistry::StorageFactoryRegistryPrivate
{
public:
- QMap<QString, StorageFactory*> map;
+ TQMap<TQString, StorageFactory*> map;
};
StorageFactoryRegistry* StorageFactoryRegistry::m_instance = 0;
@@ -50,7 +50,7 @@ StorageFactoryRegistry* StorageFactoryRegistry::self()
return m_instance;
}
-bool StorageFactoryRegistry::registerFactory(StorageFactory* factory, const QString& typestr)
+bool StorageFactoryRegistry::registerFactory(StorageFactory* factory, const TQString& typestr)
{
if (containsFactory(typestr))
return false;
@@ -58,22 +58,22 @@ bool StorageFactoryRegistry::registerFactory(StorageFactory* factory, const QStr
return true;
}
-void StorageFactoryRegistry::unregisterFactory(const QString& typestr)
+void StorageFactoryRegistry::unregisterFactory(const TQString& typestr)
{
d->map.remove(typestr);
}
-StorageFactory* StorageFactoryRegistry::getFactory(const QString& typestr)
+StorageFactory* StorageFactoryRegistry::getFactory(const TQString& typestr)
{
return d->map[typestr];
}
-bool StorageFactoryRegistry::containsFactory(const QString& typestr) const
+bool StorageFactoryRegistry::containsFactory(const TQString& typestr) const
{
return d->map.contains(typestr);
}
-QStringList StorageFactoryRegistry::list() const
+TQStringList StorageFactoryRegistry::list() const
{
return d->map.keys();
}