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/codemarker.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/codemarker.h')
-rw-r--r-- | tools/qdoc3/codemarker.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/qdoc3/codemarker.h b/tools/qdoc3/codemarker.h index aab8a9c..53ad4a8 100644 --- a/tools/qdoc3/codemarker.h +++ b/tools/qdoc3/codemarker.h @@ -155,10 +155,11 @@ class CodeMarker virtual QList<Section> qmlSections(const QmlClassNode* qmlClassNode, SynopsisStyle style); #endif - virtual const Node *resolveTarget(const QString& target, - const Tree *tree, - const Node *relative) = 0; - virtual QStringList macRefsForNode(const Node *node); + virtual const Node* resolveTarget(const QString& target, + const Tree* tree, + const Node* relative, + const Node* self = 0); + virtual QStringList macRefsForNode(const Node* node); static void initialize(const Config& config); static void terminate(); |