summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeitem_p.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2010-09-14 14:49:57 (GMT)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2010-09-14 14:49:57 (GMT)
commit34b805d66c09fb324d1b6a7bcf259e8743ef3894 (patch)
tree3567ce5e2e8b0463c2e932e38940a92b814ab00c /src/declarative/graphicsitems/qdeclarativeitem_p.h
parenta8085e53f15f88aa108d2e7e6473094105d0fdcb (diff)
downloadQt-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.h4
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);