summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-06-30 10:11:32 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-06-30 10:12:26 (GMT)
commit5a54b2c4c448ea22adb56bc191303abca34f230b (patch)
tree1b4941c3d502ed4f737484b3400837344f15631a /tools/qdoc3/node.cpp
parenta823334a1b61f7a8cf73d96cbc4cd0f71bdc3df7 (diff)
downloadQt-5a54b2c4c448ea22adb56bc191303abca34f230b.zip
Qt-5a54b2c4c448ea22adb56bc191303abca34f230b.tar.gz
Qt-5a54b2c4c448ea22adb56bc191303abca34f230b.tar.bz2
qdoc: Added more handling of \reimp command
Also fixed a few qdoc error reports. Task-number: 162182, 222650
Diffstat (limited to 'tools/qdoc3/node.cpp')
-rw-r--r--tools/qdoc3/node.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index 0f9468a..b2e53ab 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -868,6 +868,18 @@ void FunctionNode::setOverload(bool overlode)
}
/*!
+ Sets the function node's reimplementation flag to \a r.
+ When \a r is true, it is supposed to mean that this function
+ is a reimplementation of a virtual function in a base class,
+ but it really just means the \e reimp command was seen in the
+ qdoc comment.
+ */
+void FunctionNode::setReimp(bool r)
+{
+ reimp = r;
+}
+
+/*!
*/
void FunctionNode::addParameter(const Parameter& parameter)
{