qdoc: Use otherprops attribute for DITA signals/slots.
Change-Id: Id85860abfb8abdf0b7bd95a65384576d8970096b Reviewed-by: Martin Smith <martin.smith@nokia.com>bb10
parent
3df8a12f05
commit
05d1929685
|
|
@ -4818,13 +4818,13 @@ void DitaXmlGenerator::writeFunctions(const Section& s,
|
|||
FunctionNode* fn = const_cast<FunctionNode*>(static_cast<const FunctionNode*>(*m));
|
||||
writeStartTag(DT_cxxFunction);
|
||||
xmlWriter().writeAttribute("id",fn->guid());
|
||||
if (fn->metaness() == FunctionNode::Signal)
|
||||
xmlWriter().writeAttribute("otherprops","signal");
|
||||
else if (fn->metaness() == FunctionNode::Slot)
|
||||
xmlWriter().writeAttribute("otherprops","slot");
|
||||
if (!attribute.isEmpty())
|
||||
xmlWriter().writeAttribute("outputclass",attribute);
|
||||
writeStartTag(DT_apiName);
|
||||
if (fn->metaness() == FunctionNode::Signal)
|
||||
xmlWriter().writeAttribute("outputclass","signal");
|
||||
else if (fn->metaness() == FunctionNode::Slot)
|
||||
xmlWriter().writeAttribute("outputclass","slot");
|
||||
writeCharacters(fn->name());
|
||||
writeEndTag(); // </apiName>
|
||||
generateBrief(fn,marker);
|
||||
|
|
|
|||
Loading…
Reference in New Issue