diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-25 06:29:26 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-25 06:31:37 (GMT) |
commit | c8823023db4a280f3d12c983451a05f8da3780dd (patch) | |
tree | 8b7925f3076df489123365f7116535b505ef2438 /src/declarative/util/qdeclarativebehavior.cpp | |
parent | 6721e5270b33e5e88c68ec426d482b9b633d8fd6 (diff) | |
download | Qt-c8823023db4a280f3d12c983451a05f8da3780dd.zip Qt-c8823023db4a280f3d12c983451a05f8da3780dd.tar.gz Qt-c8823023db4a280f3d12c983451a05f8da3780dd.tar.bz2 |
Make more private QDeclarativeMetaProperty methods private
Diffstat (limited to 'src/declarative/util/qdeclarativebehavior.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativebehavior.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativebehavior.cpp b/src/declarative/util/qdeclarativebehavior.cpp index 303018d..b1f1677 100644 --- a/src/declarative/util/qdeclarativebehavior.cpp +++ b/src/declarative/util/qdeclarativebehavior.cpp @@ -46,6 +46,7 @@ #include <qdeclarativecontext.h> #include <qdeclarativeinfo.h> +#include <qdeclarativemetaproperty_p.h> #include <QtCore/qparallelanimationgroup.h> @@ -156,7 +157,7 @@ void QDeclarativeBehavior::write(const QVariant &value) { Q_D(QDeclarativeBehavior); if (!d->animation || !d->enabled) { - d->property.write(value, QDeclarativeMetaProperty::BypassInterceptor | QDeclarativeMetaProperty::DontRemoveBinding); + QDeclarativeMetaPropertyPrivate::write(d->property, value, QDeclarativeMetaPropertyPrivate::BypassInterceptor | QDeclarativeMetaPropertyPrivate::DontRemoveBinding); return; } @@ -176,7 +177,7 @@ void QDeclarativeBehavior::write(const QVariant &value) d->animation->transition(actions, after, QDeclarativeAbstractAnimation::Forward); d->animation->qtAnimation()->start(); if (!after.contains(d->property)) - d->property.write(value, QDeclarativeMetaProperty::BypassInterceptor | QDeclarativeMetaProperty::DontRemoveBinding); + QDeclarativeMetaPropertyPrivate::write(d->property, value, QDeclarativeMetaPropertyPrivate::BypassInterceptor | QDeclarativeMetaPropertyPrivate::DontRemoveBinding); } void QDeclarativeBehavior::setTarget(const QDeclarativeMetaProperty &property) |