From 176a9c8ce0c6362e0a98541c36175ce3f2bede9f Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 14 Feb 2013 19:11:09 +0100 Subject: [PATCH] * Style cleanups. --- src/accounts/zeroconf/Zeroconf.cpp | 11 ++++++++++- src/libtomahawk/network/PortFwdThread.cpp | 1 - 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/accounts/zeroconf/Zeroconf.cpp b/src/accounts/zeroconf/Zeroconf.cpp index e60d806ed..84eea97d8 100644 --- a/src/accounts/zeroconf/Zeroconf.cpp +++ b/src/accounts/zeroconf/Zeroconf.cpp @@ -32,6 +32,7 @@ using namespace Tomahawk; using namespace Accounts; + ZeroconfPlugin::ZeroconfPlugin ( ZeroconfAccount* parent ) : SipPlugin( parent ) , m_zeroconf( 0 ) @@ -44,7 +45,11 @@ ZeroconfPlugin::ZeroconfPlugin ( ZeroconfAccount* parent ) connect( &m_advertisementTimer, SIGNAL( timeout() ), this, SLOT( advertise() ) ); } -ZeroconfPlugin::~ZeroconfPlugin() {} + +ZeroconfPlugin::~ZeroconfPlugin() +{ +} + const QString ZeroconfPlugin::name() const @@ -52,24 +57,28 @@ ZeroconfPlugin::name() const return QString( MYNAME ); } + const QString ZeroconfPlugin::accountName() const { return QString( MYNAME ); } + const QString ZeroconfPlugin::serviceName() const { return QString( MYNAME ); } + const QString ZeroconfPlugin::friendlyName() const { return QString( MYNAME ); } + Account::ConnectionState ZeroconfPlugin::connectionState() const { diff --git a/src/libtomahawk/network/PortFwdThread.cpp b/src/libtomahawk/network/PortFwdThread.cpp index e1fcfbaf1..ac013104c 100644 --- a/src/libtomahawk/network/PortFwdThread.cpp +++ b/src/libtomahawk/network/PortFwdThread.cpp @@ -38,7 +38,6 @@ PortFwdThread::PortFwdThread( unsigned int port ) PortFwdThread::~PortFwdThread() { - }