summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcustomparser_p_p.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-09-10 00:19:33 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-09-10 00:19:33 (GMT)
commita250db23c96fc1ec47ea4d19d62a19cad7c50b46 (patch)
tree640237f325d4a734ecc42c042812a497c7a1f190 /src/declarative/qml/qmlcustomparser_p_p.h
parentd3bd0567fbc16263fcb181d58529e6d7aeee1bbd (diff)
downloadQt-a250db23c96fc1ec47ea4d19d62a19cad7c50b46.zip
Qt-a250db23c96fc1ec47ea4d19d62a19cad7c50b46.tar.gz
Qt-a250db23c96fc1ec47ea4d19d62a19cad7c50b46.tar.bz2
Report custom parse errors verbosely.
Diffstat (limited to 'src/declarative/qml/qmlcustomparser_p_p.h')
-rw-r--r--src/declarative/qml/qmlcustomparser_p_p.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/declarative/qml/qmlcustomparser_p_p.h b/src/declarative/qml/qmlcustomparser_p_p.h
index 0011c3b..25023d3 100644
--- a/src/declarative/qml/qmlcustomparser_p_p.h
+++ b/src/declarative/qml/qmlcustomparser_p_p.h
@@ -55,20 +55,16 @@
#include <QtCore/qglobal.h>
#include "qmlcustomparser_p.h"
+#include "qmlparser_p.h"
QT_BEGIN_NAMESPACE
-namespace QmlParser
-{
- class Object;
- class Property;
-};
-
class QmlCustomParserNodePrivate
{
public:
QByteArray name;
QList<QmlCustomParserProperty> properties;
+ QmlParser::Location location;
static QmlCustomParserNode fromObject(QmlParser::Object *);
static QmlCustomParserProperty fromProperty(QmlParser::Property *);
@@ -82,6 +78,7 @@ public:
QByteArray name;
bool isList;
+ QmlParser::Location location;
QList<QVariant> values;
};