summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/script/qmlbasicscript_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 05:15:16 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 06:35:01 (GMT)
commit3f85913faf5694e4a0ebd612921e4eeeb4fc9e25 (patch)
tree339cf55530a27d136a3801f30ed0e7d559188bfb /src/declarative/qml/script/qmlbasicscript_p.h
parent010dae33653c76359e857aadfbdfeb4841c01d2f (diff)
downloadQt-3f85913faf5694e4a0ebd612921e4eeeb4fc9e25.zip
Qt-3f85913faf5694e4a0ebd612921e4eeeb4fc9e25.tar.gz
Qt-3f85913faf5694e4a0ebd612921e4eeeb4fc9e25.tar.bz2
Reevaluate expressions when context properties change
Diffstat (limited to 'src/declarative/qml/script/qmlbasicscript_p.h')
-rw-r--r--src/declarative/qml/script/qmlbasicscript_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/qml/script/qmlbasicscript_p.h b/src/declarative/qml/script/qmlbasicscript_p.h
index fb9951e..3b7e966 100644
--- a/src/declarative/qml/script/qmlbasicscript_p.h
+++ b/src/declarative/qml/script/qmlbasicscript_p.h
@@ -29,19 +29,19 @@ public:
Attached,
Signal,
SignalProperty,
- Explicit,
- Variant,
- ScriptValue } type;
+ Variant
+ } type;
union {
int core;
QObject *attached;
QmlContextPrivate *context;
};
int coreType;
+ int contextIndex;
bool isValid() const { return type != Invalid; }
bool isCore() const { return type == Core; }
- bool isExplicit() const { return type == Explicit; }
+ bool isVariant() const { return type == Variant; }
void clear();
QVariant value(const char *) const;
};