void GroupDef::sortMemberLists() { MemberList *ml = m_memberLists.first(); while (ml) { if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(FALSE); } ml = m_memberLists.next(); } }
void GroupDef::sortMemberLists() { QListIterator<MemberList> mli(m_memberLists); MemberList *ml; for (;(ml=mli.current());++mli) { if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(FALSE); } } }
void GroupDef::addMemberToList(MemberList::ListType lt,MemberDef *md) { static bool sortBriefDocs = Config_getBool("SORT_BRIEF_DOCS"); static bool sortMemberDocs = Config_getBool("SORT_MEMBER_DOCS"); MemberList *ml = createMemberList(lt); ml->setNeedsSorting( ((ml->listType()&MemberList::declarationLists) && sortBriefDocs) || ((ml->listType()&MemberList::documentationLists) && sortMemberDocs)); ml->append(md); #if 0 if (ml->needsSorting()) ml->inSort(md); else ml->append(md); #endif }
void NamespaceDef::sortMemberLists() { QListIterator<MemberList> mli(m_memberLists); MemberList *ml; for (mli.toFirst();(ml=mli.current());++mli) { if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(FALSE); } } if (classSDict) { classSDict->sort(); } if (namespaceSDict) { namespaceSDict->sort(); } }
void NamespaceDef::addMemberToList(MemberListType lt,MemberDef *md) { static bool sortBriefDocs = Config_getBool(SORT_BRIEF_DOCS); static bool sortMemberDocs = Config_getBool(SORT_MEMBER_DOCS); MemberList *ml = createMemberList(lt); ml->setNeedsSorting( ((ml->listType()&MemberListType_declarationLists) && sortBriefDocs) || ((ml->listType()&MemberListType_documentationLists) && sortMemberDocs)); ml->append(md); #if 0 if (ml->needsSorting()) ml->inSort(md); else ml->append(md); #endif if (ml->listType()&MemberListType_declarationLists) md->setSectionList(this,ml); }