summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/jscodemarker.h
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-12-21 18:38:04 +0100
committerDavid Boddie <david.boddie@nokia.com>2010-12-21 18:38:04 +0100
commitea41ba11fc848dbefecb0cde324478ab1986e555 (patch)
treea2a4dd1786ad4e3f0ffbfcb20ad3f964815e3049 /tools/qdoc3/jscodemarker.h
parent9862f29b3c8d3f23113388b48b1c4b86523137dc (diff)
Enabled error reporting and a plain text fallback for invalid QML.
The location of places where code is included in documentation is now passed into each code marker when highlighted code is needed.
Diffstat (limited to 'tools/qdoc3/jscodemarker.h')
-rw-r--r--tools/qdoc3/jscodemarker.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/qdoc3/jscodemarker.h b/tools/qdoc3/jscodemarker.h
index f7cb0253f3..6d85063053 100644
--- a/tools/qdoc3/jscodemarker.h
+++ b/tools/qdoc3/jscodemarker.h
@@ -62,11 +62,11 @@ public:
virtual QString markedUpCode(const QString &code,
const Node *relative,
- const QString &dirPath);
+ const Location &location);
private:
- QString addMarkUp(const QString &code, const Node * /* relative */,
- const QString & /* dirPath */);
+ QString addMarkUp(const QString &code, const Node *relative,
+ const Location &location);
};
QT_END_NAMESPACE