diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-10-13 21:02:01 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-10-13 21:02:01 (GMT) |
commit | ee5cb6bc3023f2606ee0ff96c83fd10586b658ba (patch) | |
tree | 16de40b02cf412339672d65638606a3004608f7c /src/memberlist.cpp | |
parent | 4596b79abbfea0953c6cd7c6b294dc1727807960 (diff) | |
download | Doxygen-ee5cb6bc3023f2606ee0ff96c83fd10586b658ba.zip Doxygen-ee5cb6bc3023f2606ee0ff96c83fd10586b658ba.tar.gz Doxygen-ee5cb6bc3023f2606ee0ff96c83fd10586b658ba.tar.bz2 |
Release-1.2.18-20021013
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r-- | src/memberlist.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index 6c718e7..8f748a0 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -66,6 +66,7 @@ void MemberList::countDecMembers() switch(md->memberType()) { case MemberDef::Variable: // fall through + case MemberDef::Event: // fall through case MemberDef::Property: m_varCnt++,m_numDecMembers++; break; case MemberDef::Function: // fall through @@ -189,7 +190,8 @@ void MemberList::writePlainDeclarations(OutputList &ol, case MemberDef::Signal: // fall through case MemberDef::Slot: // fall through case MemberDef::DCOP: // fall through - case MemberDef::Property: + case MemberDef::Property: // fall through + case MemberDef::Event: { if (first) ol.startMemberList(),first=FALSE; md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup); @@ -198,6 +200,7 @@ void MemberList::writePlainDeclarations(OutputList &ol, case MemberDef::Enumeration: { if (first) ol.startMemberList(),first=FALSE; +#if 0 OutputList typeDecl(&ol); QCString name(md->name()); int i=name.findRev("::"); @@ -313,9 +316,13 @@ void MemberList::writePlainDeclarations(OutputList &ol, typeDecl.docify(" }"); md->setEnumDecl(typeDecl); } +#endif int enumVars=0; MemberListIterator vmli(*this); MemberDef *vmd; + QCString name(md->name()); + int i=name.findRev("::"); + if (i!=-1) name=name.right(name.length()-i-2); // strip scope (TODO: is this needed?) if (name[0]=='@') // anonymous enum => append variables { for ( ; (vmd=vmli.current()) ; ++vmli) @@ -335,7 +342,8 @@ void MemberList::writePlainDeclarations(OutputList &ol, ol.startMemberItem(0); ol.writeString("enum "); ol.insertMemberAlign(); - ol+=typeDecl; // append the enum values. + //ol+=typeDecl; // append the enum values. + md->writeEnumDeclaration(ol,cd,nd,fd,gd); ol.endMemberItem(FALSE); if (!md->briefDescription().isEmpty() && Config_getBool("BRIEF_MEMBER_DESC")) { |