summaryrefslogtreecommitdiffstats
path: root/akregator/src/storagefactoryregistry.cpp
diff options
context:
space:
mode:
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 afe4422f..a175df9d 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();
}