summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-08-11 15:54:19 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-08-11 15:54:19 (GMT)
commitb27c097e337200cab16aaf7a3632811a6c258c34 (patch)
tree70f6257aac93c3cd192e4dac15269acfddf5a017
parente28e1f919cdc2b82c45b2a5ceee7a9261e70433d (diff)
downloadQt-b27c097e337200cab16aaf7a3632811a6c258c34.zip
Qt-b27c097e337200cab16aaf7a3632811a6c258c34.tar.gz
Qt-b27c097e337200cab16aaf7a3632811a6c258c34.tar.bz2
Added language information to the pure documentation parser.
-rw-r--r--tools/qdoc3/puredocparser.cpp5
-rw-r--r--tools/qdoc3/puredocparser.h1
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();
};