diff options
author | Simon Hausmann <[email protected]> | 2014-01-10 14:46:33 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2014-01-17 08:10:07 +0100 |
commit | 97c21311a1de5bca7b97a0a1ae81bb651afa41c8 (patch) | |
tree | 4bc8403d7fb4cfa367acc2fb848bdbeec45480a8 /src/qml/compiler/qv4compileddata_p.h | |
parent | b92f33cddd3f2c4e35a9237791135dcc47a26985 (diff) |
[new compiler] Preliminary support for script string properties
These should later get resolved at compile time, like enum assignments.
Change-Id: I2f40c8d13330d2a101f79af12fe708f466eef225
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r-- | src/qml/compiler/qv4compileddata_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h index 91033b02ea..c069111b91 100644 --- a/src/qml/compiler/qv4compileddata_p.h +++ b/src/qml/compiler/qv4compileddata_p.h @@ -296,6 +296,7 @@ struct Binding Location location; QString valueAsString(const Unit *unit) const; + QString valueAsScriptString(const Unit *unit) const; double valueAsNumber() const { if (type == Type_Number) |