summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/remotedevice.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/lib/remotedevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/remotedevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/opietooth/lib/remotedevice.h b/noncore/net/opietooth/lib/remotedevice.h
index 23f98bd..f268ccc 100644
--- a/noncore/net/opietooth/lib/remotedevice.h
+++ b/noncore/net/opietooth/lib/remotedevice.h
@@ -13,5 +13,5 @@ namespace OpieTooth{
RemoteDevice(const QString &mac, const QString &name );
~RemoteDevice();
- friend bool operator==(const RemoteDevice&, const RemoteDevice&);
+// friend bool operator==(const RemoteDevice&, const RemoteDevice&);
RemoteDevice &operator=(const RemoteDevice& );
bool isEmpty()const;
@@ -20,8 +20,10 @@ namespace OpieTooth{
QString name()const;
void setName( const QString& name );
+ bool equals( const RemoteDevice& )const;
private:
QString m_name;
QString m_mac;
};
+ bool operator==( const RemoteDevice&, const RemoteDevice& );
};