diff options
author | David Boddie <david.boddie@nokia.com> | 2011-02-22 15:40:47 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-02-22 15:40:47 (GMT) |
commit | 6c77950e991d8152a9f1221e57c68c6d48dbfc7f (patch) | |
tree | bc86551b84d60fec19b53551d8ea43c6fba376e7 /tools/qdoc3/node.h | |
parent | 9c2b974de4ddcf759dcc4aa7ea4f00f0446786aa (diff) | |
download | Qt-6c77950e991d8152a9f1221e57c68c6d48dbfc7f.zip Qt-6c77950e991d8152a9f1221e57c68c6d48dbfc7f.tar.gz Qt-6c77950e991d8152a9f1221e57c68c6d48dbfc7f.tar.bz2 |
Doc: Fixed handling of versioned properties and added documentation.
Task-number: QTBUG-13451
Diffstat (limited to 'tools/qdoc3/node.h')
-rw-r--r-- | tools/qdoc3/node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qdoc3/node.h b/tools/qdoc3/node.h index aa7c78a..d1123dc 100644 --- a/tools/qdoc3/node.h +++ b/tools/qdoc3/node.h @@ -466,6 +466,8 @@ class QmlPropertyNode : public LeafNode bool isAttached() const { return att; } virtual bool isQmlNode() const { return true; } + const PropertyNode *correspondingProperty(const Tree *tree) const; + const QString& element() const { return static_cast<QmlPropGroupNode*>(parent())->element(); } private: @@ -689,6 +691,7 @@ class PropertyNode : public LeafNode void setRuntimeScrFunc(const QString& scrf) { runtimeScrFunc = scrf; } void setConstant() { cst = true; } void setFinal() { fnl = true; } + void setRevision(int revision) { rev = revision; } const QString &dataType() const { return dt; } QString qualifiedDataType() const; @@ -732,6 +735,7 @@ class PropertyNode : public LeafNode Trool usr; bool cst; bool fnl; + int rev; const PropertyNode* overrides; }; |