diff options
Diffstat (limited to 'saltoqd/toqconnection.h')
-rw-r--r-- | saltoqd/toqconnection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/saltoqd/toqconnection.h b/saltoqd/toqconnection.h index 0d295e2..4d8ecc6 100644 --- a/saltoqd/toqconnection.h +++ b/saltoqd/toqconnection.h @@ -11,10 +11,10 @@ class ToqConnection : public QObject Q_OBJECT Q_ENUMS(CoreEndpoints) Q_PROPERTY(bool connected READ isConnected NOTIFY connectedChanged) - Q_PROPERTY(QBluetoothAddress address READ address CONSTANT) + Q_PROPERTY(QBluetoothAddress address READ address WRITE setAddress) public: - explicit ToqConnection(const QBluetoothAddress &address, QObject *parent = 0); + explicit ToqConnection(QObject *parent = 0); typedef quint8 Endpoint; @@ -56,6 +56,7 @@ public: bool isConnected() const; QBluetoothAddress address() const; + void setAddress(const QBluetoothAddress &address); quint16 newTransactionId(); |