Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / ContentComponent.qml
1 import QtQuick 2.0
2
3 Item {
4     property bool validParentChildCount: parent && (parent.children.length > 0)
5
6     onValidParentChildCountChanged: {
7         if (!validParentChildCount) console.warn('WARNING: Invalid parent child count')
8     }
9 }