summaryrefslogtreecommitdiffstats
path: root/src/memberlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberlist.h')
-rw-r--r--src/memberlist.h74
1 files changed, 73 insertions, 1 deletions
diff --git a/src/memberlist.h b/src/memberlist.h
index c9f1fef..27c1c52 100644
--- a/src/memberlist.h
+++ b/src/memberlist.h
@@ -29,8 +29,79 @@ class MemberGroupList;
class MemberList : public QList<MemberDef>
{
public:
- MemberList();
+ enum ListType
+ {
+ privateLists = 0x0800,
+ detailedLists = 0x1000,
+ declarationLists = 0x2000,
+ documentationLists = 0x4000,
+
+ pubMethods = 0,
+ proMethods = 1,
+ pacMethods = 2,
+ priMethods = 3 + privateLists,
+ pubStaticMethods = 4,
+ proStaticMethods = 5,
+ pacStaticMethods = 6,
+ priStaticMethods = 7 + privateLists,
+ pubSlots = 8,
+ proSlots = 9,
+ priSlots = 10 + privateLists,
+ pubAttribs = 11,
+ proAttribs = 12,
+ pacAttribs = 13,
+ priAttribs = 14 + privateLists,
+ pubStaticAttribs = 15,
+ proStaticAttribs = 16,
+ pacStaticAttribs = 17,
+ priStaticAttribs = 18 + privateLists,
+ pubTypes = 19,
+ proTypes = 20,
+ pacTypes = 21,
+ priTypes = 22 + privateLists,
+ related = 23,
+ signals = 24,
+ friends = 25,
+ dcopMethods = 26,
+ properties = 27,
+ events = 28,
+
+ typedefMembers = 29 + detailedLists,
+ enumMembers = 30 + detailedLists,
+ enumValMembers = 31 + detailedLists,
+ functionMembers = 32 + detailedLists,
+ relatedMembers = 33 + detailedLists,
+ variableMembers = 34 + detailedLists,
+ propertyMembers = 35 + detailedLists,
+ eventMembers = 36 + detailedLists,
+ constructors = 37 + detailedLists,
+
+ allMembersList = 38,
+
+ decDefineMembers = 39 + declarationLists,
+ decProtoMembers = 40 + declarationLists,
+ decTypedefMembers = 41 + declarationLists,
+ decEnumMembers = 42 + declarationLists,
+ decFuncMembers = 43 + declarationLists,
+ decVarMembers = 44 + declarationLists,
+ decEnumValMembers = 45 + declarationLists,
+
+ docDefineMembers = 46 + documentationLists,
+ docProtoMembers = 47 + documentationLists,
+ docTypedefMembers = 48 + documentationLists,
+ docEnumMembers = 49 + documentationLists,
+ docFuncMembers = 50 + documentationLists,
+ docVarMembers = 51 + documentationLists,
+ docEnumValMembers = 52 + documentationLists,
+
+ redefinedBy = 53,
+ enumFields = 54,
+ memberGroup = 55
+ };
+
+ MemberList(ListType lt);
~MemberList();
+ ListType listType() const { return m_listType; }
bool insert(uint index,const MemberDef *md);
void inSort(const MemberDef *md);
void append(const MemberDef *md);
@@ -71,6 +142,7 @@ class MemberList : public QList<MemberDef>
MemberGroupList *memberGroupList;
bool m_inGroup; // is this list part of a group definition
bool m_inFile; // is this list part of a file definition
+ ListType m_listType;
};
class MemberListIterator : public QListIterator<MemberDef>