![]() |
Qt 4.8
|
The QDeclarativeDomValueBinding class represents a property binding. More...
#include <qdeclarativedom_p.h>
Public Functions | |
| QString | binding () const |
| Return the binding expression. More... | |
| QDeclarativeDomValueBinding & | operator= (const QDeclarativeDomValueBinding &) |
| Assign other to this QDeclarativeDomValueBinding. More... | |
| QDeclarativeDomValueBinding () | |
| Construct an empty QDeclarativeDomValueBinding. More... | |
| QDeclarativeDomValueBinding (const QDeclarativeDomValueBinding &) | |
| Create a copy of other QDeclarativeDomValueBinding. More... | |
| ~QDeclarativeDomValueBinding () | |
| Destroy the QDeclarativeDomValueBinding. More... | |
Properties | |
| QSharedDataPointer< QDeclarativeDomBasicValuePrivate > | d |
Friends | |
| class | QDeclarativeDomValue |
The QDeclarativeDomValueBinding class represents a property binding.
A property binding is an ECMAScript expression assigned to a property. In the example below, the "x" property is being assigned a property binding.
Definition at line 216 of file qdeclarativedom_p.h.
| QDeclarativeDomValueBinding::QDeclarativeDomValueBinding | ( | ) |
Construct an empty QDeclarativeDomValueBinding.
Definition at line 1056 of file qdeclarativedom.cpp.
| QDeclarativeDomValueBinding::QDeclarativeDomValueBinding | ( | const QDeclarativeDomValueBinding & | other | ) |
Create a copy of other QDeclarativeDomValueBinding.
Definition at line 1064 of file qdeclarativedom.cpp.
| QDeclarativeDomValueBinding::~QDeclarativeDomValueBinding | ( | ) |
Destroy the QDeclarativeDomValueBinding.
Definition at line 1072 of file qdeclarativedom.cpp.
| QString QDeclarativeDomValueBinding::binding | ( | ) | const |
Return the binding expression.
In the example below, the string "Other.x" will be returned.
Definition at line 1093 of file qdeclarativedom.cpp.
| QDeclarativeDomValueBinding & QDeclarativeDomValueBinding::operator= | ( | const QDeclarativeDomValueBinding & | other | ) |
Assign other to this QDeclarativeDomValueBinding.
Definition at line 1079 of file qdeclarativedom.cpp.
|
friend |
Definition at line 227 of file qdeclarativedom_p.h.
|
private |
Definition at line 228 of file qdeclarativedom_p.h.
Referenced by binding(), operator=(), and QDeclarativeDomValue::toBinding().