summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/qmlmarkupvisitor.h
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-12-09 18:39:35 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-12-09 18:39:35 (GMT)
commit297da17b94df6cd4a3b0c4ade56baf55310939e8 (patch)
treeec833849a8b65732d42c86f383537f500cd535ec /tools/qdoc3/qmlmarkupvisitor.h
parent77f069df4dcfd40a3d009f40e074ce1a5ac132c1 (diff)
downloadQt-297da17b94df6cd4a3b0c4ade56baf55310939e8.zip
Qt-297da17b94df6cd4a3b0c4ade56baf55310939e8.tar.gz
Qt-297da17b94df6cd4a3b0c4ade56baf55310939e8.tar.bz2
Ensured that object definition identifiers are marked up as links.
It may be worthwhile extending this to other UiQualifiedId nodes.
Diffstat (limited to 'tools/qdoc3/qmlmarkupvisitor.h')
-rw-r--r--tools/qdoc3/qmlmarkupvisitor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qdoc3/qmlmarkupvisitor.h b/tools/qdoc3/qmlmarkupvisitor.h
index 7a9ff22..60bc336 100644
--- a/tools/qdoc3/qmlmarkupvisitor.h
+++ b/tools/qdoc3/qmlmarkupvisitor.h
@@ -161,7 +161,8 @@ protected:
private:
void addExtra(quint32 start, quint32 finish);
void addMarkedUpToken(QDeclarativeJS::AST::SourceLocation &location,
- const QString &text);
+ const QString &text,
+ const QHash<QString, QString> &attributes = QHash<QString, QString>());
void addVerbatim(QDeclarativeJS::AST::SourceLocation first,
QDeclarativeJS::AST::SourceLocation last = QDeclarativeJS::AST::SourceLocation());
QString sourceText(QDeclarativeJS::AST::SourceLocation &location);