equal
deleted
inserted
replaced
304 } |
304 } |
305 |
305 |
306 /*! |
306 /*! |
307 \class QDeclarativeListProperty |
307 \class QDeclarativeListProperty |
308 \since 4.7 |
308 \since 4.7 |
309 \brief The QDeclarativeListProperty class allows applications to explose list-like |
309 \brief The QDeclarativeListProperty class allows applications to expose list-like |
310 properties to QML. |
310 properties to QML. |
311 |
311 |
312 QML has many list properties, where more than one object value can be assigned. |
312 QML has many list properties, where more than one object value can be assigned. |
313 The use of a list property from QML looks like this: |
313 The use of a list property from QML looks like this: |
314 |
314 |
339 QML list properties are typesafe - in this case \c {Fruit} is a QObject type that |
339 QML list properties are typesafe - in this case \c {Fruit} is a QObject type that |
340 \c {Apple}, \c {Orange} and \c {Banana} all derive from. |
340 \c {Apple}, \c {Orange} and \c {Banana} all derive from. |
341 |
341 |
342 \note QDeclarativeListProperty can only be used for lists of QObject-derived object pointers. |
342 \note QDeclarativeListProperty can only be used for lists of QObject-derived object pointers. |
343 |
343 |
|
344 \sa {Object and List Property Types} |
|
345 |
344 */ |
346 */ |
345 |
347 |
346 /*! |
348 /*! |
347 \fn QDeclarativeListProperty::QDeclarativeListProperty() |
349 \fn QDeclarativeListProperty::QDeclarativeListProperty() |
348 \internal |
350 \internal |