82 obj->setParent( that);
89 return that->children().count();
96 if ((index >= 0) && (index < that->children().count()))
97 return that->children().at( index);
106 const QObjectList& children = that->children();
107 int childCount = children.count();
108 for (
int index = 0; index < childCount; ++index)
109 children.at(0)->setParent( arnNullptr);
void parentChanged(QmlMQtObject *obj)
virtual void componentComplete()
static void data_clear(QML_LIST_PROPERTY< QObject > *prop)
static QObject * data_at(QML_LIST_PROPERTY< QObject > *prop, ARN_SIZETYPE index)
void setParentItem(QmlMQtObject *parent)
static ARN_SIZETYPE data_count(QML_LIST_PROPERTY< QObject > *prop)
QmlMQtObject(QmlMQtObject *parent=arnNullptr)
static void data_append(QML_LIST_PROPERTY< QObject > *prop, QObject *obj)
QML_LIST_PROPERTY< QObject > data()
virtual void classBegin()
QmlMQtObject * parentItem() const