26 m_pageTitle(pageTitle), m_secTitle(secTitle)
33 std::unique_ptr<RefItem> item = std::make_unique<RefItem>(
m_id,
this);
43 return it!=
m_lookup.end() ? it->second :
nullptr;
60 [](std::unique_ptr<RefItem> &left,std::unique_ptr<RefItem> &right)
61 { return qstricmp(left->title(),right->title()) < 0; });
65 doc +=
"<dl class=\"reflist\">";
68 for (
const std::unique_ptr<RefItem> &item :
m_entries)
70 if (item->name().isEmpty())
continue;
72 bool startNewGroup = item->group()!=lastGroup;
84 if (item->scope()->name() !=
"<globalScope>")
86 doc +=
"\\_setscope ";
87 doc += item->scope()->name();
91 doc += item->prefix();
92 doc +=
" \\_internalref ";
96 doc +=
" \""+escapedTitle+
"\" ";
98 if (!item->args().isEmpty())
111 doc += item->anchor();
114 lastGroup = item->group();