diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-12-22 09:43:41 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-12-22 09:43:41 (GMT) |
commit | edaae2daf2637e2f446e0fd462d85ca21234426e (patch) | |
tree | e997639c36f34c27491ef94ee8a83629f79f2e2a /src/declarative/qml/qmlbasicscript.cpp | |
parent | 481a636a5a2f3a5a52b752dd59435e7c3e5455d3 (diff) | |
parent | e180de35280e48ded1c22b519d6d36f30cf5100d (diff) | |
download | Qt-edaae2daf2637e2f446e0fd462d85ca21234426e.zip Qt-edaae2daf2637e2f446e0fd462d85ca21234426e.tar.gz Qt-edaae2daf2637e2f446e0fd462d85ca21234426e.tar.bz2 |
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml/qmlbasicscript.cpp')
-rw-r--r-- | src/declarative/qml/qmlbasicscript.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/declarative/qml/qmlbasicscript.cpp b/src/declarative/qml/qmlbasicscript.cpp index b596437..ebdd348 100644 --- a/src/declarative/qml/qmlbasicscript.cpp +++ b/src/declarative/qml/qmlbasicscript.cpp @@ -737,23 +737,6 @@ int QmlBasicScript::singleIdFetchIndex() const return d->instructions()[0].fetch.idx; } -bool QmlBasicScript::isSingleContextProperty() const -{ - if (!isValid()) - return false; - - return d->instructionCount == 1 && - d->instructions()[0].type == ScriptInstruction::FetchContextConstant; -} - -int QmlBasicScript::singleContextPropertyIndex() const -{ - if (!isSingleContextProperty()) - return -1; - - return d->instructions()[0].constant.idx; -} - /*! Return a pointer to the script's compile data, or null if there is no data. */ |