summaryrefslogtreecommitdiff
path: root/src/qdoc/cppcodemarker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/cppcodemarker.cpp')
-rw-r--r--src/qdoc/cppcodemarker.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/qdoc/cppcodemarker.cpp b/src/qdoc/cppcodemarker.cpp
index 91f0c4c00..8051a1900 100644
--- a/src/qdoc/cppcodemarker.cpp
+++ b/src/qdoc/cppcodemarker.cpp
@@ -91,7 +91,6 @@ QString CppCodeMarker::markedUpSynopsis(const Node *node, const Node * /* relati
{
const int MaxEnumValues = 6;
const FunctionNode *func;
- const PropertyNode *property;
const VariableNode *variable;
const EnumNode *enume;
QString synopsis;
@@ -220,10 +219,16 @@ QString CppCodeMarker::markedUpSynopsis(const Node *node, const Node * /* relati
synopsis = "flags ";
synopsis += name;
break;
- case Node::Property:
- property = static_cast<const PropertyNode *>(node);
+ case Node::Property: {
+ auto property = static_cast<const PropertyNode *>(node);
synopsis = name + " : " + typified(property->qualifiedDataType());
break;
+ }
+ case Node::QmlProperty: {
+ auto property = static_cast<const QmlPropertyNode *>(node);
+ synopsis = name + " : " + typified(property->dataType());
+ break;
+ }
case Node::Variable:
variable = static_cast<const VariableNode *>(node);
if (style == Section::AllMembers) {