summaryrefslogtreecommitdiffstats
path: root/src/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/example.h')
-rw-r--r--src/example.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/example.h b/src/example.h
index b43733f..0c3fcb2 100644
--- a/src/example.h
+++ b/src/example.h
@@ -18,6 +18,7 @@
#define EXAMPLE_H
#include "qtbc.h"
+#include <qdict.h>
class ClassDef;
class MemberName;
@@ -40,6 +41,10 @@ class ExampleList : public QList<Example>
}
};
-typedef QDict<Example> ExampleDict;
+class ExampleDict : public QDict<Example>
+{
+ public:
+ ExampleDict(int size=17) : QDict<Example>(size) {}
+};
#endif