aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/script/data/global_prop.qml
blob: 8edd75e24befa614304acb553be696d0bfb02e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import QtQuick 2.0
import "global.js" as Program

Rectangle {
    width: 200; height: 200

    signal triggered
    signal incrementTriggered

    onTriggered: Program.doSomething();
    onIncrementTriggered: Program.doIncrement();
}