aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlbasicapp/main.qml
blob: 37598a52353597f8546be9cdab4b50b7bc882423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import TimeExample2 // import types from the plugin
import BasicExtension

Clock { // this class is defined in QML (Clock.qml)
    property Time time: Time {} // this class is defined in C++ (plugin.cpp)

    hours: time.hour
    minutes: time.minute
    property Extension extension // from BasicExtension
    property More more: More {}
    property string fromESModule: ESModule.eee()
    property string fromJSFile: Less.bar()
}