Qt 4.8
Public Functions | List of all members
QDeclarativePropertyValueSource Class Referenceabstract

The QDeclarativePropertyValueSource class is an interface for property value sources such as animations and bindings. More...

#include <qdeclarativepropertyvaluesource.h>

Inheritance diagram for QDeclarativePropertyValueSource:
QDeclarativeAbstractAnimation QDeclarativeAnchorAnimation QDeclarativeAnimationGroup QDeclarativePauseAnimation QDeclarativePropertyAction QDeclarativePropertyAnimation QDeclarativeScriptAction QDeclarativeParallelAnimation QDeclarativeParentAnimation QDeclarativeSequentialAnimation QDeclarativeColorAnimation QDeclarativeNumberAnimation QDeclarativeRotationAnimation QDeclarativeVector3dAnimation QDeclarativeSmoothedAnimation QDeclarativeSpringAnimation

Public Functions

 QDeclarativePropertyValueSource ()
 Constructs a QDeclarativePropertyValueSource. More...
 
virtual void setTarget (const QDeclarativeProperty &)=0
 Set the target property for the value source. More...
 
virtual ~QDeclarativePropertyValueSource ()
 Destroys the value source. More...
 

Detailed Description

The QDeclarativePropertyValueSource class is an interface for property value sources such as animations and bindings.

See Property Value Sources for information on writing custom property value sources.

Definition at line 54 of file qdeclarativepropertyvaluesource.h.

Constructors and Destructors

◆ QDeclarativePropertyValueSource()

QDeclarativePropertyValueSource::QDeclarativePropertyValueSource ( )

Constructs a QDeclarativePropertyValueSource.

Definition at line 62 of file qdeclarativepropertyvaluesource.cpp.

63 {
64 }

◆ ~QDeclarativePropertyValueSource()

QDeclarativePropertyValueSource::~QDeclarativePropertyValueSource ( )
virtual

Destroys the value source.

Definition at line 69 of file qdeclarativepropertyvaluesource.cpp.

70 {
71 }

Functions

◆ setTarget()

void QDeclarativePropertyValueSource::setTarget ( const QDeclarativeProperty property)
pure virtual

Set the target property for the value source.

This method will be called by the QML engine when assigning a value source.

Implemented in QDeclarativeAbstractAnimation.


The documentation for this class was generated from the following files: