summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/remotedevice.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/lib/remotedevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/remotedevice.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/net/opietooth/lib/remotedevice.h b/noncore/net/opietooth/lib/remotedevice.h
index 96a27de..23f98bd 100644
--- a/noncore/net/opietooth/lib/remotedevice.h
+++ b/noncore/net/opietooth/lib/remotedevice.h
@@ -1,28 +1,28 @@
1 1
2#ifndef OpieToothRemoteDevice 2#ifndef OpieToothRemoteDevice
3#define OpieToothRemoteDevice 3#define OpieToothRemoteDevice
4 4
5#include <qvaluelist.h> 5#include <qvaluelist.h>
6 6
7namespace OpieTooth{ 7namespace OpieTooth{
8 class RemoteDevices { 8 class RemoteDevice {
9 public: 9 public:
10 typedef QValueList<RemoteDevices> ValueList; 10 typedef QValueList<RemoteDevice> ValueList;
11 RemoteDevices(); 11 RemoteDevice();
12 RemoteDevices(const RemoteDevices& ); 12 RemoteDevice(const RemoteDevice& );
13 RemoteDevices(const QString &mac, const QString &name ); 13 RemoteDevice(const QString &mac, const QString &name );
14 ~RemoteDevices(); 14 ~RemoteDevice();
15 friend bool operator==(const RemoteDevices&, const RemoteDevices&); 15 friend bool operator==(const RemoteDevice&, const RemoteDevice&);
16 RemoteDevices &operator=(const RemoteDevices& ); 16 RemoteDevice &operator=(const RemoteDevice& );
17 bool isEmpty()const; 17 bool isEmpty()const;
18 QString mac()const; 18 QString mac()const;
19 void setMac(const QString& mac ); 19 void setMac(const QString& mac );
20 QString name()const; 20 QString name()const;
21 void setName( const QString& name ); 21 void setName( const QString& name );
22 private: 22 private:
23 QString m_name; 23 QString m_name;
24 QString m_mac; 24 QString m_mac;
25 }; 25 };
26}; 26};
27 27
28#endif 28#endif