summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlcompiler_p.h')
-rw-r--r--src/declarative/qml/qmlcompiler_p.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/declarative/qml/qmlcompiler_p.h b/src/declarative/qml/qmlcompiler_p.h
index 3280866..bc9e06c 100644
--- a/src/declarative/qml/qmlcompiler_p.h
+++ b/src/declarative/qml/qmlcompiler_p.h
@@ -119,16 +119,9 @@ public:
QList<QmlError> errors() const;
static bool isValidId(const QString &);
- static bool isAttachedProperty(const QByteArray &);
+ static bool isAttachedPropertyName(const QByteArray &);
+ static bool isSignalPropertyName(const QByteArray &);
- enum StoreInstructionResult { Ok, UnknownType, InvalidData, ReadOnly };
- static StoreInstructionResult
- generateStoreInstruction(QmlCompiledData &data,
- QmlInstruction &instr,
- const QMetaProperty &prop,
- int index,
- int primitive,
- const QString *string);
private:
void reset(QmlCompiledComponent *, bool);
@@ -162,6 +155,9 @@ private:
QmlParser::Object *obj,
QmlParser::Value *value,
int ctxt);
+ bool compileStoreInstruction(QmlInstruction &instr,
+ const QMetaProperty &prop,
+ QmlParser::Value *value);
bool compileDynamicMeta(QmlParser::Object *obj);
bool compileBinding(const QString &, QmlParser::Property *prop,