blob: 7f01b2231aab73cbb5773b5a4ea10ba35e82fde6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
Item {
id: item
property var createdCallback
property var destroyedCallback
Component.onCompleted: if (createdCallback) createdCallback(item)
Component.onDestruction: if (destroyedCallback) destroyedCallback(item)
}
|