summaryrefslogtreecommitdiffstats
path: root/src/memberlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberlist.h')
-rw-r--r--src/memberlist.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/memberlist.h b/src/memberlist.h
index 3dec524..c0b6b17 100644
--- a/src/memberlist.h
+++ b/src/memberlist.h
@@ -20,6 +20,8 @@
#include <qlist.h>
#include "memberdef.h"
+#include "sortdict.h"
+
class GroupDef;
class MemberGroup;
class MemberGroupList;
@@ -69,13 +71,22 @@ class MemberListIterator : public QListIterator<MemberDef>
{
public:
MemberListIterator(const QList<MemberDef> &list);
+ virtual ~MemberListIterator() {}
};
class MemberDict : public QDict<MemberDef>
{
public:
MemberDict(int size) : QDict<MemberDef>(size) {}
- ~MemberDict() {}
+ virtual ~MemberDict() {}
+};
+
+class MemberSDict : public SDict<MemberDef>
+{
+ public:
+ MemberSDict(int size=17) : SDict<MemberDef>(size) {}
+ virtual ~MemberSDict() {}
+ int compareItems(GCI item1,GCI item2);
};