summaryrefslogtreecommitdiffstats
path: root/juk/filehandleproperties.h
diff options
context:
space:
mode:
Diffstat (limited to 'juk/filehandleproperties.h')
-rw-r--r--juk/filehandleproperties.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/juk/filehandleproperties.h b/juk/filehandleproperties.h
index b0b708bc..4fc31f92 100644
--- a/juk/filehandleproperties.h
+++ b/juk/filehandleproperties.h
@@ -14,7 +14,7 @@
#ifndef FILEHANDLEPROPERTIES_H
#define FILEHANDLEPROPERTIES_H
-#include <qmap.h>
+#include <tqmap.h>
/*
* These ugly macros make possible a property registration system that makes it
@@ -30,7 +30,7 @@
{ \
struct name##Property : public Property \
{ \
- virtual QString value(const FileHandle &f) const \
+ virtual TQString value(const FileHandle &f) const \
{ \
return f.method; \
} \
@@ -45,9 +45,9 @@
{ \
struct name##Property : public Property \
{ \
- virtual QString value(const FileHandle &f) const \
+ virtual TQString value(const FileHandle &f) const \
{ \
- return QString::number(f.method); \
+ return TQString::number(f.method); \
} \
static const int dummy; \
}; \
@@ -59,33 +59,33 @@ namespace FileHandleProperties
{
struct Property
{
- virtual QString value(const FileHandle &) const
+ virtual TQString value(const FileHandle &) const
{
- return QString::null;
+ return TQString::null;
}
};
- static QMap<QCString, const Property *> propertyMap;
+ static TQMap<TQCString, const Property *> propertyMap;
- static int addToPropertyMap(const QCString &name, Property *property)
+ static int addToPropertyMap(const TQCString &name, Property *property)
{
propertyMap[name] = property;
return 0;
}
- static QString property(const FileHandle &file, const QCString &key)
+ static TQString property(const FileHandle &file, const TQCString &key)
{
- return propertyMap.contains(key) ? propertyMap[key]->value(file) : QString::null;
+ return propertyMap.contains(key) ? propertyMap[key]->value(file) : TQString::null;
}
- static QStringList properties()
+ static TQStringList properties()
{
- static QStringList l;
+ static TQStringList l;
if(l.isEmpty()) {
- QMap<QCString, const Property *>::ConstIterator it = propertyMap.begin();
+ TQMap<TQCString, const Property *>::ConstIterator it = propertyMap.begin();
for(; it != propertyMap.end(); ++it)
- l.append(QString(it.key()));
+ l.append(TQString(it.key()));
}
return l;
}