diff options
author | Martin Smith <msmith@trolltech.com> | 2009-10-19 11:50:24 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-10-19 11:51:53 (GMT) |
commit | f16fc0150fce1d78cc71c27c163baf45e8953aca (patch) | |
tree | 4ee6be62ef2c24cda3387ecb6815fb374b0b49a3 /tools/qdoc3/node.cpp | |
parent | 7a647e8c9efbbd46184bc4714159c82ae26be958 (diff) | |
download | Qt-f16fc0150fce1d78cc71c27c163baf45e8953aca.zip Qt-f16fc0150fce1d78cc71c27c163baf45e8953aca.tar.gz Qt-f16fc0150fce1d78cc71c27c163baf45e8953aca.tar.bz2 |
qdoc3: Added the \qmlattachedproperty command.
It works just like the \qmlproperty command, except
that it puts the properties in a different section for
attached properties.
Diffstat (limited to 'tools/qdoc3/node.cpp')
-rw-r--r-- | tools/qdoc3/node.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp index 558808f..49f2cc9 100644 --- a/tools/qdoc3/node.cpp +++ b/tools/qdoc3/node.cpp @@ -1158,8 +1158,12 @@ QString QmlClassNode::fileBase() const Constructor for the Qml property group node. \a parent is always a QmlClassNode. */ -QmlPropGroupNode::QmlPropGroupNode(QmlClassNode* parent, const QString& name) - : FakeNode(parent, name, QmlPropertyGroup), isdefault(false) +QmlPropGroupNode::QmlPropGroupNode(QmlClassNode* parent, + const QString& name, + bool attached) + : FakeNode(parent, name, QmlPropertyGroup), + isdefault(false), + att(attached) { // nothing. } @@ -1169,11 +1173,13 @@ QmlPropGroupNode::QmlPropGroupNode(QmlClassNode* parent, const QString& name) */ QmlPropertyNode::QmlPropertyNode(QmlPropGroupNode *parent, const QString& name, - const QString& type) + const QString& type, + bool attached) : LeafNode(QmlProperty, parent, name), dt(type), sto(Trool_Default), - des(Trool_Default) + des(Trool_Default), + att(attached) { // nothing. } |