From 31e233a6cf72bc853137ea05285f4d0f41665365 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 14 Jul 2002 18:00:04 +0000 Subject: Patch the lib Scanning services is working now RemoteDevice update ( now got equals(const RemoteDevice& ) --- (limited to 'noncore/net/opietooth/lib/remotedevice.cc') 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{ void RemoteDevice::setName( const QString& name ){ m_name = name; } +bool RemoteDevice::equals( const RemoteDevice& dev ) const { + if ( m_mac == dev.m_mac && m_name == dev.m_name ) + return true; + else + return false; +}; -- cgit v0.9.0.2