tools/qdoc3/codemarker.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
child 33 3e2da88830cd
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
   175 }
   175 }
   176 
   176 
   177 QString CodeMarker::stringForNode(const Node *node)
   177 QString CodeMarker::stringForNode(const Node *node)
   178 {
   178 {
   179     if (sizeof(const Node *) == sizeof(ulong)) {
   179     if (sizeof(const Node *) == sizeof(ulong)) {
   180         return QString::number(reinterpret_cast<ulong>(node));
   180         return QString::number(reinterpret_cast<quintptr>(node));
   181     }
   181     }
   182     else {
   182     else {
   183         return QString::number(reinterpret_cast<qulonglong>(node));
   183         return QString::number(reinterpret_cast<qulonglong>(node));
   184     }
   184     }
   185 }
   185 }
   455   the new Section to \a sectionList.
   455   the new Section to \a sectionList.
   456  */
   456  */
   457 void CodeMarker::append(QList<Section>& sectionList, const FastSection& fs)
   457 void CodeMarker::append(QList<Section>& sectionList, const FastSection& fs)
   458 {
   458 {
   459     if (!fs.isEmpty()) {
   459     if (!fs.isEmpty()) {
   460 	Section section(fs.name,fs.singularMember,fs.pluralMember);
   460 	Section section(fs.name,fs.divClass,fs.singularMember,fs.pluralMember);
   461 	section.members = fs.memberMap.values();
   461 	section.members = fs.memberMap.values();
   462         section.reimpMembers = fs.reimpMemberMap.values();
   462         section.reimpMembers = fs.reimpMemberMap.values();
   463 	section.inherited = fs.inherited;
   463 	section.inherited = fs.inherited;
   464 	sectionList.append(section);
   464 	sectionList.append(section);
   465     }
   465     }