Qt 4.8
|
The QDeclarativeDomValueValueSource class represents a value source assignment value. More...
#include <qdeclarativedom_p.h>
Public Functions | |
QDeclarativeDomObject | object () const |
Return the value source object. More... | |
QDeclarativeDomValueValueSource & | operator= (const QDeclarativeDomValueValueSource &) |
Assign other to this QDeclarativeDomValueValueSource. More... | |
QDeclarativeDomValueValueSource () | |
Construct an empty QDeclarativeDomValueValueSource. More... | |
QDeclarativeDomValueValueSource (const QDeclarativeDomValueValueSource &) | |
Create a copy of other QDeclarativeDomValueValueSource. More... | |
~QDeclarativeDomValueValueSource () | |
Destroy the QDeclarativeDomValueValueSource. More... | |
Properties | |
QSharedDataPointer< QDeclarativeDomBasicValuePrivate > | d |
Friends | |
class | QDeclarativeDomValue |
The QDeclarativeDomValueValueSource class represents a value source assignment value.
In QML, value sources are special value generating types that may be assigned to properties. Value sources inherit the QDeclarativePropertyValueSource class. In the example below, the "x" property is being assigned the NumberAnimation value source.
Definition at line 231 of file qdeclarativedom_p.h.
QDeclarativeDomValueValueSource::QDeclarativeDomValueValueSource | ( | ) |
Construct an empty QDeclarativeDomValueValueSource.
Definition at line 1128 of file qdeclarativedom.cpp.
QDeclarativeDomValueValueSource::QDeclarativeDomValueValueSource | ( | const QDeclarativeDomValueValueSource & | other | ) |
Create a copy of other QDeclarativeDomValueValueSource.
Definition at line 1136 of file qdeclarativedom.cpp.
QDeclarativeDomValueValueSource::~QDeclarativeDomValueValueSource | ( | ) |
Destroy the QDeclarativeDomValueValueSource.
Definition at line 1144 of file qdeclarativedom.cpp.
QDeclarativeDomObject QDeclarativeDomValueValueSource::object | ( | ) | const |
Return the value source object.
In the example below, an object representing the NumberAnimation will be returned.
Definition at line 1172 of file qdeclarativedom.cpp.
QDeclarativeDomValueValueSource & QDeclarativeDomValueValueSource::operator= | ( | const QDeclarativeDomValueValueSource & | other | ) |
Assign other to this QDeclarativeDomValueValueSource.
Definition at line 1151 of file qdeclarativedom.cpp.
|
friend |
Definition at line 242 of file qdeclarativedom_p.h.
|
private |
Definition at line 243 of file qdeclarativedom_p.h.
Referenced by object(), operator=(), and QDeclarativeDomValue::toValueSource().