Qt 4.8
|
The QDeclarativePropertyValueInterceptor class is inherited by property interceptors such as Behavior. More...
#include <qdeclarativepropertyvalueinterceptor.h>
Public Functions | |
QDeclarativePropertyValueInterceptor () | |
Constructs a QDeclarativePropertyValueInterceptor. More... | |
virtual void | setTarget (const QDeclarativeProperty &property)=0 |
Set the target property for the value interceptor. More... | |
virtual void | write (const QVariant &value)=0 |
This method will be called when a new value is assigned to the property being intercepted. More... | |
virtual | ~QDeclarativePropertyValueInterceptor () |
The QDeclarativePropertyValueInterceptor class is inherited by property interceptors such as Behavior.
This class intercepts property writes, allowing for custom handling. For example, Behavior uses this interception to provide a default animation for all changes to a property's value.
Definition at line 54 of file qdeclarativepropertyvalueinterceptor.h.
QDeclarativePropertyValueInterceptor::QDeclarativePropertyValueInterceptor | ( | ) |
Constructs a QDeclarativePropertyValueInterceptor.
Definition at line 63 of file qdeclarativepropertyvalueinterceptor.cpp.
|
virtual |
Definition at line 67 of file qdeclarativepropertyvalueinterceptor.cpp.
|
pure virtual |
Set the target property for the value interceptor.
This method will be called by the QML engine when assigning a value interceptor.
Implemented in QDeclarativeBehavior.
|
pure virtual |
This method will be called when a new value is assigned to the property being intercepted.
Implemented in QDeclarativeBehavior.
Referenced by QDeclarativeVMEMetaObject::metaCall().