summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/cppcodeparser.h
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-11-24 18:33:21 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-11-24 18:33:21 (GMT)
commit9529188304b47d3fdb39cec52ad233f37a477f2f (patch)
treeb5c53e65cb56a553e54a6ed54e1e1c642e464223 /tools/qdoc3/cppcodeparser.h
parentf79dfe06afe9aae34e064b5668cc3429f659dd16 (diff)
downloadQt-9529188304b47d3fdb39cec52ad233f37a477f2f.zip
Qt-9529188304b47d3fdb39cec52ad233f37a477f2f.tar.gz
Qt-9529188304b47d3fdb39cec52ad233f37a477f2f.tar.bz2
Refactored use of parsers to parse files based on their types.
The full range of file types is specified in the configuration file. Each parser is asked if it handles each file. The pure documentation parser conceptually handles qdoc files, but it uses the same code as the C++ parser.
Diffstat (limited to 'tools/qdoc3/cppcodeparser.h')
-rw-r--r--tools/qdoc3/cppcodeparser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/cppcodeparser.h b/tools/qdoc3/cppcodeparser.h
index 55d9ddf..64e9119 100644
--- a/tools/qdoc3/cppcodeparser.h
+++ b/tools/qdoc3/cppcodeparser.h
@@ -69,8 +69,8 @@ class CppCodeParser : public CodeParser
virtual void initializeParser(const Config& config);
virtual void terminateParser();
virtual QString language();
- virtual QString headerFileNameFilter();
- virtual QString sourceFileNameFilter();
+ virtual QStringList headerFileNameFilter();
+ virtual QStringList sourceFileNameFilter();
virtual void parseHeaderFile(const Location& location,
const QString& filePath,
Tree *tree);