diff options
author | Martin Smith <martin.smith@nokia.com> | 2012-05-08 13:13:14 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-09 02:28:44 +0200 |
commit | 025d544caa93afd2bc9af5f0bf8cebd2d988cc24 (patch) | |
tree | 72b64e4a1cb7b920a81a2031932534091afdc47d /src/tools/qdoc/doc.h | |
parent | 3db8f5fbb381f009b111cd91af30bfa9bf159a5d (diff) |
qdoc: Fixed qdoc error messages
qdoc prints many error messages without including the
source file path and the line number for where the error
occurs. This makes it difficult to find the place to
fix the error. This update corrects some of those error
messages. Further updates will fix the others.
Change-Id: I9c0eed96482c61643a2d83c5135368413e63ae52
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/tools/qdoc/doc.h')
-rw-r--r-- | src/tools/qdoc/doc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/qdoc/doc.h b/src/tools/qdoc/doc.h index d3fd2dbb4d..1f83f95362 100644 --- a/src/tools/qdoc/doc.h +++ b/src/tools/qdoc/doc.h @@ -63,7 +63,8 @@ class Text; class FakeNode; class DitaRef; -typedef QMap<QString, QStringList> QCommandMap; +typedef QPair<QString, Location> ArgLocPair; +typedef QList<ArgLocPair> ArgList; typedef QMap<QString, QString> QStringMap; typedef QMultiMap<QString, QString> QStringMultiMap; @@ -168,7 +169,7 @@ public: const QStringList &omitEnumItemNames() const; const QSet<QString> &metaCommandsUsed() const; const TopicList& topicsUsed() const; - QStringList metaCommandArgs( const QString& metaCommand ) const; + ArgList metaCommandArgs(const QString& metaCommand) const; const QList<Text> &alsoList() const; bool hasTableOfContents() const; bool hasKeywords() const; |