aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/holistic/data/scopeSwitching/ScarceOne.qml
blob: 32cef038f0a749fae26a230350696a1b5a7b3057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick 2.0
import Qt.test 1.0

Item {
    id: scarceResourceConsumer

    property MyScarceResourceProvider a: MyScarceResourceProvider { id: scarceResourceProvider }

    property variant ssr;
    property variant lsr;

    function copyScarceResources() {
        ssr = scarceResourceProvider.smallScarceResource;
        lsr = scarceResourceProvider.largeScarceResource;
    }
}