Diffstat (limited to 'noncore/net/opietooth/lib/remotedevice.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/remotedevice.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/opietooth/lib/remotedevice.h b/noncore/net/opietooth/lib/remotedevice.h index 8e5baa5..96a27de 100644 --- a/noncore/net/opietooth/lib/remotedevice.h +++ b/noncore/net/opietooth/lib/remotedevice.h | |||
@@ -13,11 +13,15 @@ namespace OpieTooth{ | |||
13 | RemoteDevices(const QString &mac, const QString &name ); | 13 | RemoteDevices(const QString &mac, const QString &name ); |
14 | ~RemoteDevices(); | 14 | ~RemoteDevices(); |
15 | friend bool operator==(const RemoteDevices&, const RemoteDevices&); | 15 | friend bool operator==(const RemoteDevices&, const RemoteDevices&); |
16 | RemoteDevies &operator=(const RemoteDevices& ); | 16 | RemoteDevices &operator=(const RemoteDevices& ); |
17 | bool isEmpty()const; | ||
17 | QString mac()const; | 18 | QString mac()const; |
18 | void setMac(const QString& mac ); | 19 | void setMac(const QString& mac ); |
19 | QString name()const; | 20 | QString name()const; |
20 | void setName( const QString& name ); | 21 | void setName( const QString& name ); |
22 | private: | ||
23 | QString m_name; | ||
24 | QString m_mac; | ||
21 | }; | 25 | }; |
22 | }; | 26 | }; |
23 | 27 | ||