diff options
Diffstat (limited to 'examples/quickcontrols/wearable/Wearable/fitness.js')
-rw-r--r-- | examples/quickcontrols/wearable/Wearable/fitness.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/examples/quickcontrols/wearable/Wearable/fitness.js b/examples/quickcontrols/wearable/Wearable/fitness.js new file mode 100644 index 0000000000..220d1d24b9 --- /dev/null +++ b/examples/quickcontrols/wearable/Wearable/fitness.js @@ -0,0 +1,34 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +function getWalkingSteps() { + return 4000.; +} + +function getWalkingGoal() { + return 8000.; +} + +function getWalkingTime() { + return 40.; +} + +function getWalkingCalories() { + return 100.; +} + +function getRunningGoal() { + return 8.; +} + +function getRunningDistance() { + return 4.; +} + +function getRunningTime() { + return 16.; +} + +function getRunningCalories() { + return 200.; +} |