diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-02-27 17:41:30 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-02-27 17:41:30 (GMT) |
commit | 75cfc919c930dc2a5c9e6770d6b1e7b09e5e8883 (patch) | |
tree | 0e10644b6ed5c8878dc59e723fe3dcd591d57839 /src/memberlist.cpp | |
parent | b76d4ee1ec41101fffbef5d33c5a2ea70a6c6e54 (diff) | |
download | Doxygen-75cfc919c930dc2a5c9e6770d6b1e7b09e5e8883.zip Doxygen-75cfc919c930dc2a5c9e6770d6b1e7b09e5e8883.tar.gz Doxygen-75cfc919c930dc2a5c9e6770d6b1e7b09e5e8883.tar.bz2 |
Release 2000-02-27
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r-- | src/memberlist.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index ebe6925..6aee11f 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -63,7 +63,9 @@ void MemberList::countDecMembers() case MemberDef::Variable: varCnt++,m_count++; break; case MemberDef::Function: // fall through case MemberDef::Signal: // fall through - case MemberDef::Slot: funcCnt++,m_count++; break; + case MemberDef::Slot: if (!md->isRelated() || md->memberClass()) + funcCnt++,m_count++; + break; case MemberDef::Enumeration: enumCnt++,m_count++; break; case MemberDef::EnumValue: enumValCnt++,m_count++; break; case MemberDef::Typedef: typeCnt++,m_count++; break; @@ -409,8 +411,10 @@ void MemberList::writePlainDeclarations(OutputList &ol,ClassDef *cd, MemberListIterator mli(*this); for ( ; (md=mli.current()) ; ++mli ) { - if ( md->isFunction() || md->isSignal() || - md->isSlot()) + if ( + ( md->isFunction() || md->isSignal() || md->isSlot()) && + ( !md->isRelated() || md->memberClass() ) + ) { md->writeDeclaration(ol,cd,nd,fd,prevGroupId,inGroup); prevGroupId = md->groupId(); @@ -424,7 +428,7 @@ void MemberList::writePlainDeclarations(OutputList &ol,ClassDef *cd, MemberListIterator mli(*this); for ( ; (md=mli.current()) ; ++mli ) { - if ( md->isFriend()) + if (md->isFriend()) { QCString type=md->typeString(); //printf("Friend: type=%s name=%s\n",type.data(),md->name().data()); |