From 4a843cc7eb5b668eee23b7e3cc3e10e5290ab5c6 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 27 Oct 2014 19:49:34 +0100 Subject: [PATCH] Remove unused functions --- src/accounts/zeroconf/Zeroconf.cpp | 22 ---------------------- src/accounts/zeroconf/Zeroconf.h | 4 ---- 2 files changed, 26 deletions(-) diff --git a/src/accounts/zeroconf/Zeroconf.cpp b/src/accounts/zeroconf/Zeroconf.cpp index feaf885fb..3751cd2e2 100644 --- a/src/accounts/zeroconf/Zeroconf.cpp +++ b/src/accounts/zeroconf/Zeroconf.cpp @@ -52,21 +52,6 @@ ZeroconfPlugin::~ZeroconfPlugin() { } - -const QString -ZeroconfPlugin::name() const -{ - return QString( MYNAME ); -} - - -const QString -ZeroconfPlugin::accountName() const -{ - return QString( MYNAME ); -} - - const QString ZeroconfPlugin::serviceName() const { @@ -122,13 +107,6 @@ ZeroconfPlugin::disconnectPlugin() } -QIcon -ZeroconfPlugin::icon() const -{ - return account()->icon(); -} - - void ZeroconfPlugin::advertise() { diff --git a/src/accounts/zeroconf/Zeroconf.h b/src/accounts/zeroconf/Zeroconf.h index b7e922047..cca443d0a 100644 --- a/src/accounts/zeroconf/Zeroconf.h +++ b/src/accounts/zeroconf/Zeroconf.h @@ -45,10 +45,6 @@ public: virtual ~ZeroconfPlugin(); - const QString name() const; - const QString accountName() const; - QIcon icon() const; - const QString friendlyName() const override; const QString serviceName() const override; bool isValid() const override { return true; }