aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/SignalEmittedComponent.qml
blob: a7866a33fbda6291c760fd4ed99e710d2ce20986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.0
import Qt.test 1.0 as ModApi

Item {
    id: sec
    property int a: 10
    Component.onDestruction: {
        ModApi.setSpecificProperty(sec, "a", 20);
    }

    function setSuccessPropertyOf(obj, val) {
        obj.success = val;
    }
}