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/qmlstateoperations.h | |
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/qmlstateoperations.h')
-rw-r--r-- | src/declarative/util/qmlstateoperations.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/declarative/util/qmlstateoperations.h b/src/declarative/util/qmlstateoperations.h index 4bd17a0..3018b44 100644 --- a/src/declarative/util/qmlstateoperations.h +++ b/src/declarative/util/qmlstateoperations.h @@ -79,18 +79,18 @@ public: virtual bool override(ActionEvent*other); }; -class QmlRunScriptPrivate; -class Q_DECLARATIVE_EXPORT QmlRunScript : public QmlStateOperation, public ActionEvent +class QmlStateChangeScriptPrivate; +class Q_DECLARATIVE_EXPORT QmlStateChangeScript : public QmlStateOperation, public ActionEvent { Q_OBJECT - Q_DECLARE_PRIVATE(QmlRunScript) + Q_DECLARE_PRIVATE(QmlStateChangeScript) Q_PROPERTY(QString script READ script WRITE setScript) Q_PROPERTY(QString name READ name WRITE setName) public: - QmlRunScript(QObject *parent=0); - ~QmlRunScript(); + QmlStateChangeScript(QObject *parent=0); + ~QmlStateChangeScript(); virtual ActionList actions(); @@ -103,11 +103,11 @@ public: virtual void execute(); }; -class QmlSetAnchorsPrivate; -class Q_DECLARATIVE_EXPORT QmlSetAnchors : public QmlStateOperation, public ActionEvent +class QmlAnchorChangesPrivate; +class Q_DECLARATIVE_EXPORT QmlAnchorChanges : public QmlStateOperation, public ActionEvent { Q_OBJECT - Q_DECLARE_PRIVATE(QmlSetAnchors) + Q_DECLARE_PRIVATE(QmlAnchorChanges) Q_PROPERTY(QFxItem *target READ object WRITE setObject) Q_PROPERTY(QString reset READ reset WRITE setReset) @@ -117,8 +117,8 @@ class Q_DECLARATIVE_EXPORT QmlSetAnchors : public QmlStateOperation, public Acti Q_PROPERTY(QFxAnchorLine bottom READ bottom WRITE setBottom) public: - QmlSetAnchors(QObject *parent=0); - ~QmlSetAnchors(); + QmlAnchorChanges(QObject *parent=0); + ~QmlAnchorChanges(); virtual ActionList actions(); @@ -153,8 +153,8 @@ public: QT_END_NAMESPACE QML_DECLARE_TYPE(QmlParentChange) -QML_DECLARE_TYPE(QmlRunScript) -QML_DECLARE_TYPE(QmlSetAnchors) +QML_DECLARE_TYPE(QmlStateChangeScript) +QML_DECLARE_TYPE(QmlAnchorChanges) QT_END_HEADER |