diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-07-07 07:51:34 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-07-07 07:51:34 (GMT) |
commit | f14b644004498dc6fb1a9437b81e3164e89bfdb5 (patch) | |
tree | fe8f2e4a4368adf4339aae0f559139455e59118f /tools/qdoc3/cppcodemarker.h | |
parent | 4ebff202b44bb751a1c37db13963362592e86a6d (diff) | |
download | Qt-f14b644004498dc6fb1a9437b81e3164e89bfdb5.zip Qt-f14b644004498dc6fb1a9437b81e3164e89bfdb5.tar.gz Qt-f14b644004498dc6fb1a9437b81e3164e89bfdb5.tar.bz2 |
qdoc: Fixed the case where the property and type names are the same.
Also simplified some code.
Task-number: QTBUG-6340
Diffstat (limited to 'tools/qdoc3/cppcodemarker.h')
-rw-r--r-- | tools/qdoc3/cppcodemarker.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/qdoc3/cppcodemarker.h b/tools/qdoc3/cppcodemarker.h index 2dcf400..eca3936 100644 --- a/tools/qdoc3/cppcodemarker.h +++ b/tools/qdoc3/cppcodemarker.h @@ -81,9 +81,10 @@ class CppCodeMarker : public CodeMarker Status status); QList<Section> qmlSections(const QmlClassNode* qmlClassNode, SynopsisStyle style); - const Node *resolveTarget(const QString& target, - const Tree *tree, - const Node *relative); + const Node* resolveTarget(const QString& target, + const Tree* tree, + const Node* relative, + const Node* self = 0); private: QString addMarkUp(const QString& protectedCode, |