diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-10-21 01:50:01 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-10-21 01:50:01 (GMT) |
commit | ee086ea4fd9baa3df94909dd9f5884578c1eaeb7 (patch) | |
tree | a973859d5c54fa1d03434e04e3c959a92b4f37e0 /tools/qdoc3/cppcodemarker.cpp | |
parent | 2c70994c3b9b0839ef5d489e6dfcaaf6c4ed6b4d (diff) | |
download | Qt-ee086ea4fd9baa3df94909dd9f5884578c1eaeb7.zip Qt-ee086ea4fd9baa3df94909dd9f5884578c1eaeb7.tar.gz Qt-ee086ea4fd9baa3df94909dd9f5884578c1eaeb7.tar.bz2 |
Prepend element name for detailed attached property docs.
Diffstat (limited to 'tools/qdoc3/cppcodemarker.cpp')
-rw-r--r-- | tools/qdoc3/cppcodemarker.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qdoc3/cppcodemarker.cpp b/tools/qdoc3/cppcodemarker.cpp index 3bee3d9..30ea251 100644 --- a/tools/qdoc3/cppcodemarker.cpp +++ b/tools/qdoc3/cppcodemarker.cpp @@ -353,6 +353,10 @@ QString CppCodeMarker::markedUpQmlItem(const Node* node, bool summary) QString name = taggedQmlNode(node); if (summary) { name = linkTag(node,name); + } else if (node->type() == Node::QmlProperty) { + const QmlPropertyNode* pn = static_cast<const QmlPropertyNode*>(node); + if (pn->isAttached()) + name.prepend(pn->element() + QLatin1Char('.')); } name = "<@name>" + name + "</@name>"; QString synopsis = name; |