diff options
author | David Boddie <dboddie@trolltech.com> | 2010-06-18 11:34:11 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-06-18 11:34:11 (GMT) |
commit | 678d6044cb82b59e2a3747a24f5d70a58f5cf127 (patch) | |
tree | 811af412e92ce107222f57e80816faab3963655b /tools/qdoc3/node.h | |
parent | 68073bbcde2d1b12d36f0c58aab1fc20f02ab967 (diff) | |
parent | 81b03ee252a22c9b053c376302428e5430523900 (diff) | |
download | Qt-678d6044cb82b59e2a3747a24f5d70a58f5cf127.zip Qt-678d6044cb82b59e2a3747a24f5d70a58f5cf127.tar.gz Qt-678d6044cb82b59e2a3747a24f5d70a58f5cf127.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/dboddies-oslo-staging-1-qdoc into 4.7
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 90295ee..af7596b 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); |