equal
deleted
inserted
replaced
70 }; |
70 }; |
71 |
71 |
72 |
72 |
73 /*! |
73 /*! |
74 \qmlclass Binding QDeclarativeBind |
74 \qmlclass Binding QDeclarativeBind |
|
75 \ingroup qml-working-with-data |
75 \since 4.7 |
76 \since 4.7 |
76 \brief The Binding element allows arbitrary property bindings to be created. |
77 \brief The Binding element allows arbitrary property bindings to be created. |
77 |
78 |
78 Sometimes it is necessary to bind to a property of an object that wasn't |
79 Sometimes it is necessary to bind to a property of an object that wasn't |
79 directly instantiated by QML - generally a property of a class exported |
80 directly instantiated by QML - generally a property of a class exported |
92 |
93 |
93 If the binding target or binding property is changed, the bound value is |
94 If the binding target or binding property is changed, the bound value is |
94 immediately pushed onto the new target. |
95 immediately pushed onto the new target. |
95 |
96 |
96 \sa QtDeclarative |
97 \sa QtDeclarative |
97 */ |
98 */ |
98 /*! |
|
99 \internal |
|
100 \class QDeclarativeBind |
|
101 \brief The QDeclarativeBind class allows arbitrary property bindings to be created. |
|
102 |
|
103 Simple bindings are usually earier to do in-place rather than creating a |
|
104 QDeclarativeBind item. For that reason, QDeclarativeBind is usually used to transfer property information |
|
105 from Qml to C++. |
|
106 |
|
107 \sa cppqml |
|
108 */ |
|
109 QDeclarativeBind::QDeclarativeBind(QObject *parent) |
99 QDeclarativeBind::QDeclarativeBind(QObject *parent) |
110 : QObject(*(new QDeclarativeBindPrivate), parent) |
100 : QObject(*(new QDeclarativeBindPrivate), parent) |
111 { |
101 { |
112 } |
102 } |
113 |
103 |