summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-24 04:55:16 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-24 04:55:16 (GMT)
commit4ec82624f77d49c2e5f02b04518c8bde1be16145 (patch)
treeaa05bf47e9fdc3f681c4f6c00b952af3f1b3e83d /src/declarative
parentde6b4c941146d0286e98a6f35ac5a609381e17ee (diff)
downloadQt-4ec82624f77d49c2e5f02b04518c8bde1be16145.zip
Qt-4ec82624f77d49c2e5f02b04518c8bde1be16145.tar.gz
Qt-4ec82624f77d49c2e5f02b04518c8bde1be16145.tar.bz2
Use 'extend' for now. 'extends' is a JavaScript reserved words
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/util/qmlstate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qmlstate.h b/src/declarative/util/qmlstate.h
index d15bd4a..0b48449 100644
--- a/src/declarative/util/qmlstate.h
+++ b/src/declarative/util/qmlstate.h
@@ -81,7 +81,7 @@ public:
void deleteFromBinding();
};
-class ActionEvent
+class ActionEvent
{
public:
virtual ~ActionEvent();
@@ -126,7 +126,7 @@ class Q_DECLARATIVE_EXPORT QmlState : public QObject
Q_PROPERTY(QString name READ name WRITE setName)
Q_PROPERTY(QmlBinding *when READ when WRITE setWhen)
- Q_PROPERTY(QString extends READ extends WRITE setExtends)
+ Q_PROPERTY(QString extend READ extends WRITE setExtends)
Q_PROPERTY(QmlList<QmlStateOperation *>* changes READ changes)
Q_CLASSINFO("DefaultProperty", "changes")
@@ -137,7 +137,7 @@ public:
QString name() const;
void setName(const QString &);
- /*'when' is a QmlBinding to limit state changes oscillation
+ /*'when' is a QmlBinding to limit state changes oscillation
due to the unpredictable order of evaluation of bound expressions*/
bool isWhenKnown() const;
QmlBinding *when() const;