blob: 96a27de7b081615d7e7f0bb271b8626adca2d982 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef OpieToothRemoteDevice
#define OpieToothRemoteDevice
#include <qvaluelist.h>
namespace OpieTooth{
class RemoteDevices {
public:
typedef QValueList<RemoteDevices> ValueList;
RemoteDevices();
RemoteDevices(const RemoteDevices& );
RemoteDevices(const QString &mac, const QString &name );
~RemoteDevices();
friend bool operator==(const RemoteDevices&, const RemoteDevices&);
RemoteDevices &operator=(const RemoteDevices& );
bool isEmpty()const;
QString mac()const;
void setMac(const QString& mac );
QString name()const;
void setName( const QString& name );
private:
QString m_name;
QString m_mac;
};
};
#endif
|