summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlscriptparser_p.h')
-rw-r--r--src/declarative/qml/qmlscriptparser_p.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlscriptparser_p.h b/src/declarative/qml/qmlscriptparser_p.h
index 49128d7..0d89268 100644
--- a/src/declarative/qml/qmlscriptparser_p.h
+++ b/src/declarative/qml/qmlscriptparser_p.h
@@ -1,15 +1,19 @@
#ifndef QMLSCRIPTPARSER_P_H
#define QMLSCRIPTPARSER_P_H
+#include <QtCore/QList>
+#include <QtCore/QUrl>
#include <qml.h>
-#include <private/qmlcomponent_p.h>
-#include <private/qmlparser_p.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
+namespace QmlParser {
+ class Object;
+}
+
class QByteArray;
class QmlScriptParser
@@ -27,6 +31,8 @@ public:
QmlParser::Object *tree() const;
+ void clear();
+
// ### private:
int findOrCreateTypeId(const QString &name);
void setTree(QmlParser::Object *tree);