summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/remotedevice.cc
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/lib/remotedevice.cc') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/remotedevice.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/noncore/net/opietooth/lib/remotedevice.cc b/noncore/net/opietooth/lib/remotedevice.cc
index 0045904..08fb397 100644
--- a/noncore/net/opietooth/lib/remotedevice.cc
+++ b/noncore/net/opietooth/lib/remotedevice.cc
@@ -1,48 +1,48 @@
#include "remotedevice.h"
using namespace OpieTooth;
-bool operator==(const RemoteDevices& rem1, const RemoteDevices& rem2){
+bool operator==(const RemoteDevice& rem1, const RemoteDevice& rem2){
if( ( rem1.mac() == rem2.mac() ) && (rem1.name() == rem2.name() ) )
return true;
return false;
}
-RemoteDevices::RemoteDevices(){
+RemoteDevice::RemoteDevice(){
}
-RemoteDevices::RemoteDevices(const RemoteDevices& ole ){
+RemoteDevice::RemoteDevice(const RemoteDevice& ole ){
(*this) = ole;
}
-RemoteDevices::RemoteDevices(const QString &mac, const QString& name ){
+RemoteDevice::RemoteDevice(const QString &mac, const QString& name ){
m_mac = mac;
m_name = name;
}
-RemoteDevices::~RemoteDevices(){
+RemoteDevice::~RemoteDevice(){
}
-bool RemoteDevices::isEmpty() const {
+bool RemoteDevice::isEmpty() const {
if( m_name.isEmpty() && m_mac.isEmpty() )
return true;
return false;
};
-RemoteDevices& RemoteDevices::operator=( const RemoteDevices& rem1){
+RemoteDevice& RemoteDevice::operator=( const RemoteDevice& rem1){
m_name = rem1.m_name;
m_mac = rem1.m_mac;
return *this;
}
-QString RemoteDevices::mac() const {
+QString RemoteDevice::mac() const {
return m_mac;
}
-void RemoteDevices::setMac( const QString& mac ){
+void RemoteDevice::setMac( const QString& mac ){
m_mac = mac;
}
-QString RemoteDevices::name() const{
+QString RemoteDevice::name() const{
return m_name;
}
-void RemoteDevices::setName( const QString& name ){
+void RemoteDevice::setName( const QString& name ){
m_name = name;
}