summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-15 09:22:42 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-15 09:22:42 (GMT)
commitf828db056642ac2373c8592c11039e1c7f1b1046 (patch)
tree53cd65d3e1f44778b608f711b37c0183023b34bb /src/declarative/qml/qmlcompiler_p.h
parentfa04625271c725deb669500a8196a07f0c1683b5 (diff)
downloadQt-f828db056642ac2373c8592c11039e1c7f1b1046.zip
Qt-f828db056642ac2373c8592c11039e1c7f1b1046.tar.gz
Qt-f828db056642ac2373c8592c11039e1c7f1b1046.tar.bz2
Remove pointless QmlCompiledComponent class
Diffstat (limited to 'src/declarative/qml/qmlcompiler_p.h')
-rw-r--r--src/declarative/qml/qmlcompiler_p.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/declarative/qml/qmlcompiler_p.h b/src/declarative/qml/qmlcompiler_p.h
index b97de19..e09665f 100644
--- a/src/declarative/qml/qmlcompiler_p.h
+++ b/src/declarative/qml/qmlcompiler_p.h
@@ -65,15 +65,12 @@ QT_BEGIN_NAMESPACE
class QmlEngine;
class QmlComponent;
-class QmlCompiledComponent;
class QmlContext;
-class QmlCompiledData
+class QmlCompiledData : public QmlRefCount
{
public:
QmlCompiledData();
- QmlCompiledData(const QmlCompiledData &other);
- QmlCompiledData &operator=(const QmlCompiledData &other);
virtual ~QmlCompiledData();
QByteArray name;
@@ -104,11 +101,14 @@ public:
QList<int> intData;
QList<CustomTypeData> customTypeData;
QList<QByteArray> datas;
- QList<QMetaObject *> synthesizedMetaObjects;
QList<QmlParser::Location> locations;
QList<QmlInstruction> bytecode;
+ void dumpInstructions();
private:
+ void dump(QmlInstruction *, int idx = -1);
+ QmlCompiledData(const QmlCompiledData &other);
+ QmlCompiledData &operator=(const QmlCompiledData &other);
QByteArray packData;
friend class QmlCompiler;
int pack(const char *, size_t);
@@ -127,7 +127,7 @@ class Q_DECLARATIVE_EXPORT QmlCompiler
public:
QmlCompiler();
- bool compile(QmlEngine *, QmlCompositeTypeData *, QmlCompiledComponent *);
+ bool compile(QmlEngine *, QmlCompositeTypeData *, QmlCompiledData *);
bool isError() const;
QList<QmlError> errors() const;
@@ -137,7 +137,7 @@ public:
static bool isSignalPropertyName(const QByteArray &);
private:
- void reset(QmlCompiledComponent *, bool);
+ void reset(QmlCompiledData *);
struct BindingContext {
BindingContext()