aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeinstruction_p.h
diff options
context:
space:
mode:
authorQt by Nokia <qt-info@nokia.com>2011-04-27 14:13:26 +0200
committeraxis <qt-info@nokia.com>2011-04-27 14:40:44 +0200
commita129444bb0156c936900dbd2f12bd9f427ff366c (patch)
treee2e8e77f185d5a5ac32ea0a96cd9945c742e8663 /src/declarative/qml/qdeclarativeinstruction_p.h
parent885735d011472bcfbb96e688d9e64553d7fe9d4b (diff)
Initial import from qtquick2.
Branched from the monolithic repo, Qt qtquick2 branch, at commit a4a585d2ee907746682846ae6e8a48e19deef469
Diffstat (limited to 'src/declarative/qml/qdeclarativeinstruction_p.h')
-rw-r--r--src/declarative/qml/qdeclarativeinstruction_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeinstruction_p.h b/src/declarative/qml/qdeclarativeinstruction_p.h
index 20be889252..a5521b6425 100644
--- a/src/declarative/qml/qdeclarativeinstruction_p.h
+++ b/src/declarative/qml/qdeclarativeinstruction_p.h
@@ -88,6 +88,7 @@ public:
// StoreInteger - Store a int or uint in a core property
// StoreBool - Store a bool in a core property
// StoreString - Store a QString in a core property
+ // StoreByteArray - Store a QByteArray in a core property
// StoreUrl - Store a QUrl in a core property
// StoreColor - Store a QColor in a core property
// StoreDate - Store a QDate in a core property
@@ -101,6 +102,7 @@ public:
StoreInteger, /* storeInteger */
StoreBool, /* storeBool */
StoreString, /* storeString */
+ StoreByteArray, /* storeByteArray */
StoreUrl, /* storeUrl */
StoreColor, /* storeColor */
StoreDate, /* storeDate */
@@ -245,6 +247,10 @@ public:
int propertyIndex;
int value;
};
+ struct StoreByteArrayInstruction {
+ int propertyIndex;
+ int value;
+ };
struct StoreScriptStringInstruction {
int propertyIndex;
int value;
@@ -332,6 +338,7 @@ public:
StoreIntegerInstruction storeInteger;
StoreBoolInstruction storeBool;
StoreStringInstruction storeString;
+ StoreByteArrayInstruction storeByteArray;
StoreScriptStringInstruction storeScriptString;
StoreScriptInstruction storeScript;
StoreUrlInstruction storeUrl;