diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-11-01 11:04:32 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-11-01 11:04:32 (GMT) |
commit | d5d44eb800f1c0be15d49521cf991a1c9466cb78 (patch) | |
tree | eef2d6c7aecf532afb8e1050659efcce8006f1f1 /tools/qdoc3/node.cpp | |
parent | 5fdbfcaa0ebda0b2062d962734546309c6d2247c (diff) | |
download | Qt-d5d44eb800f1c0be15d49521cf991a1c9466cb78.zip Qt-d5d44eb800f1c0be15d49521cf991a1c9466cb78.tar.gz Qt-d5d44eb800f1c0be15d49521cf991a1c9466cb78.tar.bz2 |
doc: Corrections to linking errors in the docs.
Diffstat (limited to 'tools/qdoc3/node.cpp')
-rw-r--r-- | tools/qdoc3/node.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp index f4736f3..d787bc9 100644 --- a/tools/qdoc3/node.cpp +++ b/tools/qdoc3/node.cpp @@ -1364,6 +1364,21 @@ QString FunctionNode::signature(bool values) const } /*! + Returns true if the node's status is Internal, or if its + parent is a class with internal status. + */ +bool FunctionNode::isInternal() const +{ + if (status() == Internal) + return true; + if (parent() && parent()->status() == Internal) + return true; + if (relates() && relates()->status() == Internal) + return true; + return false; +} + +/*! Print some debugging stuff. */ void FunctionNode::debug() const |