diff options
author | David Boddie <david.boddie@nokia.com> | 2011-08-11 15:54:19 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-08-11 15:54:19 (GMT) |
commit | b27c097e337200cab16aaf7a3632811a6c258c34 (patch) | |
tree | 70f6257aac93c3cd192e4dac15269acfddf5a017 /tools/qdoc3 | |
parent | e28e1f919cdc2b82c45b2a5ceee7a9261e70433d (diff) | |
download | Qt-b27c097e337200cab16aaf7a3632811a6c258c34.zip Qt-b27c097e337200cab16aaf7a3632811a6c258c34.tar.gz Qt-b27c097e337200cab16aaf7a3632811a6c258c34.tar.bz2 |
Added language information to the pure documentation parser.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/puredocparser.cpp | 5 | ||||
-rw-r--r-- | tools/qdoc3/puredocparser.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/qdoc3/puredocparser.cpp b/tools/qdoc3/puredocparser.cpp index c7db1bf..0f21cbc 100644 --- a/tools/qdoc3/puredocparser.cpp +++ b/tools/qdoc3/puredocparser.cpp @@ -55,6 +55,11 @@ PureDocParser::~PureDocParser() { } +QString PureDocParser::language() +{ + return "qdoc"; +} + QStringList PureDocParser::sourceFileNameFilter() { return QStringList("*.qdoc"); diff --git a/tools/qdoc3/puredocparser.h b/tools/qdoc3/puredocparser.h index 7f0434d..814c829 100644 --- a/tools/qdoc3/puredocparser.h +++ b/tools/qdoc3/puredocparser.h @@ -64,6 +64,7 @@ public: PureDocParser(); virtual ~PureDocParser(); + virtual QString language(); virtual QStringList sourceFileNameFilter(); }; |