summaryrefslogtreecommitdiffstats
path: root/qtools/qdict.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qdict.h')
-rw-r--r--qtools/qdict.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/qtools/qdict.h b/qtools/qdict.h
index 3b70336..682b270 100644
--- a/qtools/qdict.h
+++ b/qtools/qdict.h
@@ -42,6 +42,15 @@
#include "qgdict.h"
#endif // QT_H
+#define USE_ASCII_STRING
+
+#ifdef USE_ASCII_STRING
+
+#define QAsciiDict QDict
+#define QAsciiDictIterator QDictIterator
+#include "qasciidict.h"
+
+#else
template<class type> class Q_EXPORT QDict : public QGDict
{
@@ -102,5 +111,6 @@ public:
type *operator+=(uint j) { return (type *)QGDictIterator::operator+=(j);}
};
+#endif // USE_ASCII_STRING
#endif // QDICT_H