summaryrefslogtreecommitdiff
path: root/examples/bluetooth/heartrate-game/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/heartrate-game/qml/main.qml')
-rw-r--r--examples/bluetooth/heartrate-game/qml/main.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/bluetooth/heartrate-game/qml/main.qml b/examples/bluetooth/heartrate-game/qml/main.qml
index 45d8073a..4f8d3b41 100644
--- a/examples/bluetooth/heartrate-game/qml/main.qml
+++ b/examples/bluetooth/heartrate-game/qml/main.qml
@@ -51,6 +51,7 @@
import QtQuick
import QtQuick.Window
import "."
+import Shared
Window {
id: wroot
@@ -60,6 +61,10 @@ Window {
title: qsTr("HeartRateGame")
color: GameSettings.backgroundColor
+ required property ConnectionHandler connectionHandler
+ required property DeviceFinder deviceFinder
+ required property AddressType deviceHandler
+
Component.onCompleted: {
GameSettings.wWidth = Qt.binding(function() {return width})
GameSettings.wHeight = Qt.binding(function() {return height})