summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-12-16 10:37:13 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-12-16 10:37:13 (GMT)
commit867a421ed539040bd197c13f6c98f313e232cdf3 (patch)
treeeb1432aab757a24dc51786ad587c83b39fed277e /tools/qdoc3
parent1c1d3e79e1b7cb2cdffaee38a98bc777e3a7b961 (diff)
downloadQt-867a421ed539040bd197c13f6c98f313e232cdf3.zip
Qt-867a421ed539040bd197c13f6c98f313e232cdf3.tar.gz
Qt-867a421ed539040bd197c13f6c98f313e232cdf3.tar.bz2
qdoc: Added typedef to help the OSX compiler accept a template.
Diffstat (limited to 'tools/qdoc3')
-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 60bc336..709a858 100644
--- a/tools/qdoc3/qmlmarkupvisitor.h
+++ b/tools/qdoc3/qmlmarkupvisitor.h
@@ -159,10 +159,11 @@ protected:
QString protect(const QString &string);
private:
+ typedef QHash<QString, QString> StringHash;
void addExtra(quint32 start, quint32 finish);
void addMarkedUpToken(QDeclarativeJS::AST::SourceLocation &location,
const QString &text,
- const QHash<QString, QString> &attributes = QHash<QString, QString>());
+ const StringHash &attributes = StringHash());
void addVerbatim(QDeclarativeJS::AST::SourceLocation first,
QDeclarativeJS::AST::SourceLocation last = QDeclarativeJS::AST::SourceLocation());
QString sourceText(QDeclarativeJS::AST::SourceLocation &location);