Telephony plugin was missing the factory macros

+ Removed qdebug messages from ping plugin
This commit is contained in:
Albert Vaca 2013-08-15 22:28:35 +02:00
parent 622fdcc46e
commit f28088c915
2 changed files with 5 additions and 2 deletions

View file

@ -30,12 +30,12 @@ K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_ping", "kdeconnect_ping") )
PingPlugin::PingPlugin(QObject* parent, const QVariantList& args)
: KdeConnectPlugin(parent, args)
{
qDebug() << "Ping plugin constructor for device" << device()->name();
//qDebug() << "Ping plugin constructor for device" << device()->name();
}
PingPlugin::~PingPlugin()
{
qDebug() << "Ping plugin destructor for device" << device()->name();
//qDebug() << "Ping plugin destructor for device" << device()->name();
}
bool PingPlugin::receivePackage(const NetworkPackage& np)

View file

@ -23,6 +23,9 @@
#include <QDebug>
#include <kicon.h>
K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< TelephonyPlugin >(); )
K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_telephony", "kdeconnect_telephony") )
TelephonyPlugin::TelephonyPlugin(QObject *parent, const QVariantList &args)
: KdeConnectPlugin(parent, args)
{