diff options
author | Martin Smith <martin.smith@nokia.com> | 2012-08-21 15:43:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-21 16:15:21 +0200 |
commit | 5f4d793d816b35776e59744732f8b0010a20a4d6 (patch) | |
tree | 784d3963ec2b9517800a0729cd8778a261d8938a /src/tools/qdoc/tree.h | |
parent | 6276acb59a800e3cc3251f218b285f988a9128b5 (diff) |
doc: Replaced FakeNode with DocNode
The name FakeNode was a bad choice. It was used
to represent something that wasn't derived from
a C++ declaration in a .h file. Any generic page
or QML item or any special kind of qdoc construct
was stored in a FakeNode. The name was unfortunate
because the constructs stored in FakeNodes were
just as real as C++ constructs.
So FakeNode has been renamed to DocNode, which
just refers to a documentation node. The node
type Fake has been replaced with node type
Document.
Change-Id: Ida9de8288b7b8915bf9273fd890ca84aaf05e182
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/tools/qdoc/tree.h')
-rw-r--r-- | src/tools/qdoc/tree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qdoc/tree.h b/src/tools/qdoc/tree.h index 0e6090f705..0684364f10 100644 --- a/src/tools/qdoc/tree.h +++ b/src/tools/qdoc/tree.h @@ -70,8 +70,8 @@ public: ClassNode* findClassNode(const QStringList& path, Node* start = 0); QmlClassNode* findQmlClassNode(const QStringList& path, Node* start = 0); NamespaceNode* findNamespaceNode(const QStringList& path, Node* start = 0); - FakeNode* findGroupNode(const QStringList& path, Node* start = 0); - FakeNode* findQmlModuleNode(const QStringList& path, Node* start = 0); + DocNode* findGroupNode(const QStringList& path, Node* start = 0); + DocNode* findQmlModuleNode(const QStringList& path, Node* start = 0); Node* findNodeByNameAndType(const QStringList& path, Node::Type type, @@ -139,7 +139,7 @@ public: const FunctionNode *clone, const Node *relative = 0, int findFlags = 0) const; - const FakeNode *findFakeNodeByTitle(const QString &title, const Node* relative = 0) const; + const DocNode *findDocNodeByTitle(const QString &title, const Node* relative = 0) const; const Node *findUnambiguousTarget(const QString &target, Atom *&atom, const Node* relative) const; Atom *findTarget(const QString &target, const Node *node) const; const NamespaceNode *root() const { return &roo; } |