diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-10 03:03:27 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-10 03:03:27 (GMT) |
commit | 6dbd2643ac8230bce652411dd5f8bd34567b387a (patch) | |
tree | ea9865b020d427b64f04c1bd4d2513b80eff659b /src/declarative/util/qmlanimation.cpp | |
parent | 582f8dcffae369b6d7fc6a0966cd4a8d65fdabab (diff) | |
download | Qt-6dbd2643ac8230bce652411dd5f8bd34567b387a.zip Qt-6dbd2643ac8230bce652411dd5f8bd34567b387a.tar.gz Qt-6dbd2643ac8230bce652411dd5f8bd34567b387a.tar.bz2 |
Revert "Replace QList<>* support with QmlListProperty"
This reverts commit d914555badcd4761864657e1e335e657b791453f.
Diffstat (limited to 'src/declarative/util/qmlanimation.cpp')
-rw-r--r-- | src/declarative/util/qmlanimation.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp index 2d1d3b9..ba096b3 100644 --- a/src/declarative/util/qmlanimation.cpp +++ b/src/declarative/util/qmlanimation.cpp @@ -939,10 +939,10 @@ void QmlPropertyAction::setProperties(const QString &p) \sa exclude matchProperties PropertyAnimation::matchTargets */ -QmlListProperty<QObject> QmlPropertyAction::targets() +QList<QObject *> *QmlPropertyAction::targets() { Q_D(QmlPropertyAction); - return QmlListProperty<QObject>(this, d->targets); + return &d->targets; } /*! @@ -950,10 +950,10 @@ QmlListProperty<QObject> QmlPropertyAction::targets() This property holds the objects not to be affected by this animation. \sa matchTargets */ -QmlListProperty<QObject> QmlPropertyAction::exclude() +QList<QObject *> *QmlPropertyAction::exclude() { Q_D(QmlPropertyAction); - return QmlListProperty<QObject>(this, d->exclude); + return &d->exclude; } /*! @@ -2089,10 +2089,10 @@ void QmlPropertyAnimation::setProperties(const QString &prop) \sa exclude matchProperties */ -QmlListProperty<QObject> QmlPropertyAnimation::targets() +QList<QObject *> *QmlPropertyAnimation::targets() { Q_D(QmlPropertyAnimation); - return QmlListProperty<QObject>(this, d->targets); + return &d->targets; } /*! @@ -2100,10 +2100,10 @@ QmlListProperty<QObject> QmlPropertyAnimation::targets() This property holds the items not to be affected by this animation. \sa matchTargets */ -QmlListProperty<QObject> QmlPropertyAnimation::exclude() +QList<QObject *> *QmlPropertyAnimation::exclude() { Q_D(QmlPropertyAnimation); - return QmlListProperty<QObject>(this, d->exclude); + return &d->exclude; } void QmlPropertyAnimationPrivate::valueChanged(qreal r) |