summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/connectionhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/heartrate-game/connectionhandler.h')
-rw-r--r--examples/bluetooth/heartrate-game/connectionhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/bluetooth/heartrate-game/connectionhandler.h b/examples/bluetooth/heartrate-game/connectionhandler.h
index 8c38b8ca..23168b28 100644
--- a/examples/bluetooth/heartrate-game/connectionhandler.h
+++ b/examples/bluetooth/heartrate-game/connectionhandler.h
@@ -49,12 +49,14 @@ class ConnectionHandler : public QObject
Q_PROPERTY(bool alive READ alive NOTIFY deviceChanged)
Q_PROPERTY(QString name READ name NOTIFY deviceChanged)
Q_PROPERTY(QString address READ address NOTIFY deviceChanged)
+ Q_PROPERTY(bool requiresAddressType READ requiresAddressType CONSTANT)
Q_OBJECT
public:
explicit ConnectionHandler(QObject *parent = 0);
bool alive() const;
+ bool requiresAddressType() const;
QString name() const;
QString address() const;