![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlcpponassignment_p.h>
Static Public Member Functions | |
static void | set (QQmlPropertyValueInterceptor *interceptor, const QQmlProperty &property) |
static void | set (QQmlPropertyValueSource *valueSource, const QQmlProperty &property) |
Helper class that provides setTarget() functionality for both value interceptors and value sources.
Property value sources could be problematic because QQuickAbstractAnimation changes access specifier of QQmlPropertyValueSource::setTarget() to private (unintentionally?). This API allows to avoid manual casts to base types as the C++ compiler would implicitly cast derived classes in this case.
Definition at line 33 of file qqmlcpponassignment_p.h.
|
static |
Definition at line 8 of file qqmlcpponassignment.cpp.
References property, and QQmlPropertyValueInterceptor::setTarget().
|
static |
Definition at line 14 of file qqmlcpponassignment.cpp.
References property, and QQmlPropertyValueSource::setTarget().