summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.h
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-09-30 12:37:29 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-09-30 12:39:23 (GMT)
commitdcbba3c0b603ad3b38c0d3ed128b230857cb38be (patch)
tree6f2216b2bf12513b77f50eb81e726cdc40393063 /tools/qdoc3/node.h
parentca2834b0056b301f1d1b732840fcb106fdd477ac (diff)
downloadQt-dcbba3c0b603ad3b38c0d3ed128b230857cb38be.zip
Qt-dcbba3c0b603ad3b38c0d3ed128b230857cb38be.tar.gz
Qt-dcbba3c0b603ad3b38c0d3ed128b230857cb38be.tar.bz2
qdoc: Modified the support for \sincelist.
It now finds a lot more \since 4.6 stuff.
Diffstat (limited to 'tools/qdoc3/node.h')
-rw-r--r--tools/qdoc3/node.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/qdoc3/node.h b/tools/qdoc3/node.h
index fdef920..09f38d2 100644
--- a/tools/qdoc3/node.h
+++ b/tools/qdoc3/node.h
@@ -76,9 +76,11 @@ class Node
Target,
QmlProperty,
QmlSignal,
- QmlMethod
+ QmlMethod,
+ LastType
#else
- Target
+ Target,
+ LastType
#endif
};
@@ -173,10 +175,13 @@ class Node
virtual QString fileBase() const;
+ static QString typeName(int i) { return typeNames[i]; }
+
protected:
Node(Type type, InnerNode *parent, const QString& name);
private:
+ static QString typeNames[];
#ifdef Q_WS_WIN
Type typ;
Access acc;