diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-06-16 12:49:07 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-06-16 12:49:07 (GMT) |
commit | 00e3c4d7dcb5f14e9d13200a1e5d041d266f6610 (patch) | |
tree | 3c845bec14718ede0ad7d8f8ffb745fe1a120bba /tools/qdoc3/node.h | |
parent | 2cb5d8f7425bce83b5e95925e15d7920be3d2e8d (diff) | |
download | Qt-00e3c4d7dcb5f14e9d13200a1e5d041d266f6610.zip Qt-00e3c4d7dcb5f14e9d13200a1e5d041d266f6610.tar.gz Qt-00e3c4d7dcb5f14e9d13200a1e5d041d266f6610.tar.bz2 |
doc: Added more DITA output to the XML generator
Some of the cxxFunction stuff for member functions.
Task-number: QTBUG-11391
Diffstat (limited to 'tools/qdoc3/node.h')
-rw-r--r-- | tools/qdoc3/node.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/qdoc3/node.h b/tools/qdoc3/node.h index 523394d..ccfd9b6 100644 --- a/tools/qdoc3/node.h +++ b/tools/qdoc3/node.h @@ -261,6 +261,8 @@ class InnerNode : public Node QStringList secondaryKeys(); const QStringList& pageKeywords() const { return pageKeywds; } virtual void addPageKeywords(const QString& t) { pageKeywds << t; } + virtual bool isAbstract() const { return false; } + virtual void setAbstract(bool ) { } protected: InnerNode(Type type, InnerNode *parent, const QString& name); @@ -341,11 +343,14 @@ class ClassNode : public InnerNode void setServiceName(const QString& value) { sname = value; } QString qmlElement() const { return qmlelement; } void setQmlElement(const QString& value) { qmlelement = value; } + virtual bool isAbstract() const { return abstract; } + virtual void setAbstract(bool b) { abstract = b; } private: QList<RelatedClass> bas; QList<RelatedClass> der; bool hidden; + bool abstract; QString sname; QString qmlelement; }; @@ -582,7 +587,7 @@ class FunctionNode : public LeafNode void setReturnType(const QString& returnType) { rt = returnType; } void setParentPath(const QStringList& parentPath) { pp = parentPath; } void setMetaness(Metaness metaness) { met = metaness; } - void setVirtualness(Virtualness virtualness) { vir = virtualness; } + void setVirtualness(Virtualness virtualness); void setConst(bool conste) { con = conste; } void setStatic(bool statique) { sta = statique; } void setOverload(bool overlode); |