summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/codeparser.h
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2011-02-22 04:12:05 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2011-02-22 04:12:05 (GMT)
commitbf9ca539dc4c5efff801856ad9d3f7e14dabad26 (patch)
treea5ae494b6e8a2b33f4345f484ba2ead04aca761e /tools/qdoc3/codeparser.h
parentb254be20c03d4dbfc1803cd40dc95d52115b955c (diff)
parenta34e2ab6f50cc91a4fca5cd7fd7bd22e6495b0c1 (diff)
downloadQt-bf9ca539dc4c5efff801856ad9d3f7e14dabad26.zip
Qt-bf9ca539dc4c5efff801856ad9d3f7e14dabad26.tar.gz
Qt-bf9ca539dc4c5efff801856ad9d3f7e14dabad26.tar.bz2
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt into 4.7
Conflicts: tools/qml/qml.pri
Diffstat (limited to 'tools/qdoc3/codeparser.h')
-rw-r--r--tools/qdoc3/codeparser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/qdoc3/codeparser.h b/tools/qdoc3/codeparser.h
index 683ee16..b297eb9 100644
--- a/tools/qdoc3/codeparser.h
+++ b/tools/qdoc3/codeparser.h
@@ -66,8 +66,8 @@ class CodeParser
virtual void initializeParser(const Config& config);
virtual void terminateParser();
virtual QString language() = 0;
- virtual QString headerFileNameFilter();
- virtual QString sourceFileNameFilter() = 0;
+ virtual QStringList headerFileNameFilter();
+ virtual QStringList sourceFileNameFilter() = 0;
virtual void parseHeaderFile(const Location& location,
const QString& filePath, Tree *tree);
virtual void parseSourceFile(const Location& location,
@@ -78,6 +78,8 @@ class CodeParser
static void initialize(const Config& config);
static void terminate();
static CodeParser *parserForLanguage(const QString& language);
+ static CodeParser *parserForHeaderFile(const QString &filePath);
+ static CodeParser *parserForSourceFile(const QString &filePath);
static const QString titleFromName(const QString& name);
protected: