2022-05-13 13:12:05 +00:00
|
|
|
// Copyright (C) 2017 The Qt Company Ltd.
|
2024-02-22 14:51:16 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
2021-06-21 12:30:47 +00:00
|
|
|
|
2022-07-14 13:42:05 +00:00
|
|
|
import TimeExample2 // import types from the plugin
|
2021-07-14 14:52:22 +00:00
|
|
|
import BasicExtension
|
2021-06-21 12:30:47 +00:00
|
|
|
|
|
|
|
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
|
2021-07-14 14:52:22 +00:00
|
|
|
property Extension extension // from BasicExtension
|
2021-09-08 14:03:12 +00:00
|
|
|
property More more: More {}
|
2022-02-01 10:01:50 +00:00
|
|
|
property string fromESModule: ESModule.eee()
|
|
|
|
property string fromJSFile: Less.bar()
|
2021-06-21 12:30:47 +00:00
|
|
|
}
|