From 15a51033a3efed2eafd3527758ea1f6b864d719b Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Thu, 3 Sep 2009 13:57:14 +1000 Subject: Renamee property to fit class name. --- src/declarative/util/qmlanimation.cpp | 8 ++++---- src/declarative/util/qmlanimation.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp index d224388..6047d4a 100644 --- a/src/declarative/util/qmlanimation.cpp +++ b/src/declarative/util/qmlanimation.cpp @@ -809,19 +809,19 @@ void QmlScriptAction::setScript(const QString &script) } /*! - \qmlproperty QString ScriptAction::runScriptName + \qmlproperty QString ScriptAction::stateChangeScriptName This property holds the the name of the StateChangeScript to run. This property is only valid when ScriptAction is used as part of a transition. - If both script and runScriptName are set, runScriptName will be used. + If both script and stateChangeScriptName are set, stateChangeScriptName will be used. */ -QString QmlScriptAction::runScriptName() const +QString QmlScriptAction::stateChangeScriptName() const { Q_D(const QmlScriptAction); return d->script; } -void QmlScriptAction::setRunScriptName(const QString &name) +void QmlScriptAction::setStateChangeScriptName(const QString &name) { Q_D(QmlScriptAction); d->name = name; diff --git a/src/declarative/util/qmlanimation.h b/src/declarative/util/qmlanimation.h index 7104f60..508b2b5 100644 --- a/src/declarative/util/qmlanimation.h +++ b/src/declarative/util/qmlanimation.h @@ -162,7 +162,7 @@ class QmlScriptAction : public QmlAbstractAnimation Q_DECLARE_PRIVATE(QmlScriptAction) Q_PROPERTY(QString script READ script WRITE setScript NOTIFY scriptChanged) - Q_PROPERTY(QString runScriptName READ runScriptName WRITE setRunScriptName) + Q_PROPERTY(QString stateChangeScriptName READ stateChangeScriptName WRITE setStateChangeScriptName) public: QmlScriptAction(QObject *parent=0); @@ -171,8 +171,8 @@ public: QString script() const; void setScript(const QString &); - QString runScriptName() const; - void setRunScriptName(const QString &); + QString stateChangeScriptName() const; + void setStateChangeScriptName(const QString &); Q_SIGNALS: void scriptChanged(const QString &); -- cgit v0.12