blob: 848c474ff9202abada6c1286c50012c0b43a70aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright (C) 2017 Ford Motor Company
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QObject>
#include <QQmlEngine>
#include "rep_timemodel_replica.h"
// A "TimeModel" class with hour and minute properties
// that change on-the-minute yet efficiently sleep the rest
// of the time.
struct TimeModel
{
Q_GADGET
QML_FOREIGN(MinuteTimerReplica)
QML_NAMED_ELEMENT(Time)
};
|