diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-21 03:27:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-21 03:27:52 (GMT) |
commit | 08a4fffc4c93c324f95f5759c620287330c68d9d (patch) | |
tree | 4bced6b7c308f405ef021c1e006de65cfaaeaa1e /src/declarative/util/qmlanimation.cpp | |
parent | 1d9ae86dda99d8f0eb4949d3779777e795eb52be (diff) | |
download | Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.zip Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.gz Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.bz2 |
Rename State change elements.
SetProperties -> PropertyChanges
RunScript -> StateChangeScript
SetAnchors -> AnchorChanges
Diffstat (limited to 'src/declarative/util/qmlanimation.cpp')
-rw-r--r-- | src/declarative/util/qmlanimation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp index 7faddee..e5b7c47 100644 --- a/src/declarative/util/qmlanimation.cpp +++ b/src/declarative/util/qmlanimation.cpp @@ -851,10 +851,10 @@ void QmlRunScriptAction::transition(QmlStateActions &actions, for (int ii = 0; ii < actions.count(); ++ii) { Action &action = actions[ii]; - if (action.event && action.event->typeName() == QLatin1String("RunScript") - && static_cast<QmlRunScript*>(action.event)->name() == d->name) { + if (action.event && action.event->typeName() == QLatin1String("StateChangeScript") + && static_cast<QmlStateChangeScript*>(action.event)->name() == d->name) { //### how should we handle reverse direction? - d->runScriptScript = static_cast<QmlRunScript*>(action.event)->script(); + d->runScriptScript = static_cast<QmlStateChangeScript*>(action.event)->script(); action.actionDone = true; break; //assumes names are unique } |