summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.h
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2011-03-18 12:15:12 (GMT)
committerMartin Smith <martin.smith@nokia.com>2011-03-18 12:15:12 (GMT)
commit3a764060dab07ef0b51d7027b9606c73c0701d2f (patch)
treed835edc0bfb0cef56f6f66a5de1978cd04ec224e /tools/qdoc3/node.h
parent4d5f37bd4a472b144e5962dd4b24a6e81f89d390 (diff)
downloadQt-3a764060dab07ef0b51d7027b9606c73c0701d2f.zip
Qt-3a764060dab07ef0b51d7027b9606c73c0701d2f.tar.gz
Qt-3a764060dab07ef0b51d7027b9606c73c0701d2f.tar.bz2
qdoc: Added the <othermeta> element.
Diffstat (limited to 'tools/qdoc3/node.h')
-rw-r--r--tools/qdoc3/node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qdoc3/node.h b/tools/qdoc3/node.h
index 92a7c9f..2de2b5a 100644
--- a/tools/qdoc3/node.h
+++ b/tools/qdoc3/node.h
@@ -274,6 +274,9 @@ class InnerNode : public Node
virtual void addPageKeywords(const QString& t) { pageKeywds << t; }
virtual bool isAbstract() const { return false; }
virtual void setAbstract(bool ) { }
+ bool hasOtherMetadata() const { return !otherMetadataMap.isEmpty(); }
+ void insertOtherMetadata(const QString& name, const QString& content);
+ const QMap<QString, QString>& otherMetadata() const { return otherMetadataMap; }
protected:
InnerNode(Type type, InnerNode* parent, const QString& name);
@@ -297,6 +300,7 @@ class InnerNode : public Node
QMap<QString, Node*> childMap;
QMap<QString, Node*> primaryFunctionMap;
QMap<QString, NodeList> secondaryFunctionMap;
+ QMap<QString, QString> otherMetadataMap;
};
class LeafNode : public Node