summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/remotedevice.cc
Unidiff
Diffstat (limited to 'noncore/net/opietooth/lib/remotedevice.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/remotedevice.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/opietooth/lib/remotedevice.cc b/noncore/net/opietooth/lib/remotedevice.cc
index 08fb397..9cf0cac 100644
--- a/noncore/net/opietooth/lib/remotedevice.cc
+++ b/noncore/net/opietooth/lib/remotedevice.cc
@@ -46,3 +46,9 @@ QString RemoteDevice::name() const{
46void RemoteDevice::setName( const QString& name ){ 46void RemoteDevice::setName( const QString& name ){
47 m_name = name; 47 m_name = name;
48} 48}
49bool RemoteDevice::equals( const RemoteDevice& dev ) const {
50 if ( m_mac == dev.m_mac && m_name == dev.m_name )
51 return true;
52 else
53 return false;
54};