diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-09-14 14:49:57 (GMT) |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-09-14 14:49:57 (GMT) |
commit | 34b805d66c09fb324d1b6a7bcf259e8743ef3894 (patch) | |
tree | 3567ce5e2e8b0463c2e932e38940a92b814ab00c /src/declarative/graphicsitems/qdeclarativeitem_p.h | |
parent | a8085e53f15f88aa108d2e7e6473094105d0fdcb (diff) | |
download | Qt-34b805d66c09fb324d1b6a7bcf259e8743ef3894.zip Qt-34b805d66c09fb324d1b6a7bcf259e8743ef3894.tar.gz Qt-34b805d66c09fb324d1b6a7bcf259e8743ef3894.tar.bz2 |
Completing the interface for children/data/resources
This patch makes the handling of properties like
children and data easier in Bauhaus.
Especially in the case of property alias
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitem_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitem_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem_p.h b/src/declarative/graphicsitems/qdeclarativeitem_p.h index fffb4f7..f85fa27 100644 --- a/src/declarative/graphicsitems/qdeclarativeitem_p.h +++ b/src/declarative/graphicsitems/qdeclarativeitem_p.h @@ -176,11 +176,15 @@ public: // data property static void data_append(QDeclarativeListProperty<QObject> *, QObject *); + static int data_count(QDeclarativeListProperty<QObject> *); + static QObject *data_at(QDeclarativeListProperty<QObject> *, int); + static void data_clear(QDeclarativeListProperty<QObject> *); // resources property static QObject *resources_at(QDeclarativeListProperty<QObject> *, int); static void resources_append(QDeclarativeListProperty<QObject> *, QObject *); static int resources_count(QDeclarativeListProperty<QObject> *); + static void resources_clear(QDeclarativeListProperty<QObject> *); // transform property static int transform_count(QDeclarativeListProperty<QGraphicsTransform> *list); |