From 677f650216e9cfe4e9873309bd2f05832a6068c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80lex=20Fiestas?= Date: Mon, 22 Sep 2014 01:33:27 +0200 Subject: [PATCH] Removed K_EXPORT_PLUGIN, no longer needed With kf5 this is not longer needed. removing it! --- fileitemactionplugin/sendfileitemaction.cpp | 1 - kcm/kcm.cpp | 1 - kded/kded.cpp | 1 - plugins/battery/batteryplugin.cpp | 1 - plugins/clipboard/clipboardplugin.cpp | 1 - plugins/mousepad/mousepadplugin.cpp | 1 - plugins/mpriscontrol/mpriscontrolplugin.cpp | 1 - plugins/notifications/notificationsplugin.cpp | 1 - plugins/pausemusic/pausemusic_config.cpp | 1 - plugins/pausemusic/pausemusicplugin.cpp | 1 - plugins/ping/pingplugin.cpp | 1 - plugins/sftp/sftp_config.cpp | 1 - plugins/sftp/sftpplugin.cpp | 1 - plugins/share/share_config.cpp | 1 - plugins/share/shareplugin.cpp | 1 - plugins/telephony/telephonyplugin.cpp | 1 - 16 files changed, 16 deletions(-) diff --git a/fileitemactionplugin/sendfileitemaction.cpp b/fileitemactionplugin/sendfileitemaction.cpp index f585f206e..87221564f 100644 --- a/fileitemactionplugin/sendfileitemaction.cpp +++ b/fileitemactionplugin/sendfileitemaction.cpp @@ -38,7 +38,6 @@ #include K_PLUGIN_FACTORY(SendFileItemActionFactory, registerPlugin();) -K_EXPORT_PLUGIN(SendFileItemActionFactory("SendFileItemAction", "kdeconnect-filetiemaction")) Q_LOGGING_CATEGORY(KDECONNECT_FILEITEMACTION, "kdeconnect.fileitemaction") diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp index 1daa0f899..1aa793fbe 100644 --- a/kcm/kcm.cpp +++ b/kcm/kcm.cpp @@ -42,7 +42,6 @@ #include "devicessortproxymodel.h" K_PLUGIN_FACTORY(KdeConnectKcmFactory, registerPlugin();) -K_EXPORT_PLUGIN(KdeConnectKcmFactory("kdeconnect-kcm", "kdeconnect-kcm")) KdeConnectKcm::KdeConnectKcm(QWidget *parent, const QVariantList&) : KCModule(KAboutData::pluginData("kdeconnect-kcm"), parent) diff --git a/kded/kded.cpp b/kded/kded.cpp index f109b2e07..18276d8e9 100644 --- a/kded/kded.cpp +++ b/kded/kded.cpp @@ -28,7 +28,6 @@ #include "config-kded.h" K_PLUGIN_FACTORY(KdeConnectFactory, registerPlugin();) -K_EXPORT_PLUGIN(KdeConnectFactory("kdeconnect", "kdeconnect-kded")) Q_LOGGING_CATEGORY(KDECONNECT_KDED, "kdeconnect.kded") diff --git a/plugins/battery/batteryplugin.cpp b/plugins/battery/batteryplugin.cpp index 8c04c1c7c..7ac7606af 100644 --- a/plugins/battery/batteryplugin.cpp +++ b/plugins/battery/batteryplugin.cpp @@ -27,7 +27,6 @@ #include "batterydbusinterface.h" K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< BatteryPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_battery", "kdeconnect-plugins") ) Q_LOGGING_CATEGORY(KDECONNECT_PLUGING_BATTERY, "kdeconnect.plugin.battery") diff --git a/plugins/clipboard/clipboardplugin.cpp b/plugins/clipboard/clipboardplugin.cpp index 2b98514ea..03da131a4 100644 --- a/plugins/clipboard/clipboardplugin.cpp +++ b/plugins/clipboard/clipboardplugin.cpp @@ -24,7 +24,6 @@ #include K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< ClipboardPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_clipboard", "kdeconnect-plugins") ) Q_LOGGING_CATEGORY(KDECONNECT_PLUGIN_CLIPBOARD, "kdeconnect.plugin.clipboard") diff --git a/plugins/mousepad/mousepadplugin.cpp b/plugins/mousepad/mousepadplugin.cpp index 2f8f21621..09f5e4bcb 100644 --- a/plugins/mousepad/mousepadplugin.cpp +++ b/plugins/mousepad/mousepadplugin.cpp @@ -23,7 +23,6 @@ #include K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< MousepadPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_mousepad", "kdeconnect-plugins") ) // Source: http://bharathisubramanian.wordpress.com/2010/04/01/x11-fake-mouse-events-generation-using-xtest/ diff --git a/plugins/mpriscontrol/mpriscontrolplugin.cpp b/plugins/mpriscontrol/mpriscontrolplugin.cpp index 955171162..7f5069714 100644 --- a/plugins/mpriscontrol/mpriscontrolplugin.cpp +++ b/plugins/mpriscontrol/mpriscontrolplugin.cpp @@ -33,7 +33,6 @@ #include "propertiesdbusinterface.h" K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< MprisControlPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_mpriscontrol", "kdeconnect-plugins") ) Q_LOGGING_CATEGORY(KDECONNECT_PLUGIN_MPRIS, "kdeconnect.plugin.mpris") diff --git a/plugins/notifications/notificationsplugin.cpp b/plugins/notifications/notificationsplugin.cpp index 9c0ab6354..ec2d10edd 100644 --- a/plugins/notifications/notificationsplugin.cpp +++ b/plugins/notifications/notificationsplugin.cpp @@ -24,7 +24,6 @@ #include "notification_debug.h" K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< NotificationsPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_notifications", "kdeconnect-plugins") ) Q_LOGGING_CATEGORY(KDECONNECT_PLUGIN_NOTIFICATION, "kdeconnect.plugin.notification") diff --git a/plugins/pausemusic/pausemusic_config.cpp b/plugins/pausemusic/pausemusic_config.cpp index ca3d2306c..e77468fdc 100644 --- a/plugins/pausemusic/pausemusic_config.cpp +++ b/plugins/pausemusic/pausemusic_config.cpp @@ -28,7 +28,6 @@ #include "ui_pausemusic_config.h" K_PLUGIN_FACTORY(PauseMusicConfigFactory, registerPlugin();) -K_EXPORT_PLUGIN(PauseMusicConfigFactory("kdeconnect_pausemusic_config", "kdeconnect-kded")) PauseMusicConfig::PauseMusicConfig(QWidget *parent, const QVariantList& ) : KCModule(KAboutData::pluginData("kdeconnect_pausemusic_config"), parent) diff --git a/plugins/pausemusic/pausemusicplugin.cpp b/plugins/pausemusic/pausemusicplugin.cpp index 624962254..8f16dbcf2 100644 --- a/plugins/pausemusic/pausemusicplugin.cpp +++ b/plugins/pausemusic/pausemusicplugin.cpp @@ -32,7 +32,6 @@ #include K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< PauseMusicPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_pausemusic", "kdeconnect-plugins") ) //TODO: Port this away from KMix to use only Pulseaudio int PauseMusicPlugin::isKMixMuted() { diff --git a/plugins/ping/pingplugin.cpp b/plugins/ping/pingplugin.cpp index 901d49c98..6743faa3a 100644 --- a/plugins/ping/pingplugin.cpp +++ b/plugins/ping/pingplugin.cpp @@ -29,7 +29,6 @@ #include K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< PingPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_ping", "kdeconnect-plugins") ) Q_LOGGING_CATEGORY(KDECONNECT_PLUGIN_PING, "kdeconnect.plugin.ping"); diff --git a/plugins/sftp/sftp_config.cpp b/plugins/sftp/sftp_config.cpp index fc12464a4..3bb5a6931 100644 --- a/plugins/sftp/sftp_config.cpp +++ b/plugins/sftp/sftp_config.cpp @@ -33,7 +33,6 @@ #include "ui_sftp_config.h" K_PLUGIN_FACTORY(SftpConfigFactory, registerPlugin();) -K_EXPORT_PLUGIN(SftpConfigFactory("kdeconnect_sftp_config", "kdeconnect-kded")) SftpConfig::SftpConfig(QWidget *parent, const QVariantList& ) : KCModule(KAboutData::pluginData("kdeconnect_sftp_config"), parent) diff --git a/plugins/sftp/sftpplugin.cpp b/plugins/sftp/sftpplugin.cpp index 9ab8c8e69..39c44a467 100644 --- a/plugins/sftp/sftpplugin.cpp +++ b/plugins/sftp/sftpplugin.cpp @@ -39,7 +39,6 @@ #include "mounter.h" K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< SftpPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_sftp", "kdeconnect-plugins") ) Q_LOGGING_CATEGORY(KDECONNECT_PLUGIN_SFTP, "kdeconnect.plugin.sftp") diff --git a/plugins/share/share_config.cpp b/plugins/share/share_config.cpp index ee06f406b..f26a8ca56 100644 --- a/plugins/share/share_config.cpp +++ b/plugins/share/share_config.cpp @@ -30,7 +30,6 @@ #include "ui_share_config.h" K_PLUGIN_FACTORY(ShareConfigFactory, registerPlugin();) -K_EXPORT_PLUGIN(ShareConfigFactory("kdeconnect_share_config", "kdeconnect_share_config")) ShareConfig::ShareConfig(QWidget *parent, const QVariantList& ) : KCModule(KAboutData::pluginData("kdeconnect_share_config"), parent) diff --git a/plugins/share/shareplugin.cpp b/plugins/share/shareplugin.cpp index fb0570419..be595abf7 100644 --- a/plugins/share/shareplugin.cpp +++ b/plugins/share/shareplugin.cpp @@ -39,7 +39,6 @@ #include "autoclosingqfile.h" K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< SharePlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_share", "kdeconnect-plugins") ) Q_LOGGING_CATEGORY(KDECONNECT_PLUGIN_SHARE, "kdeconnect.plugin.share"); diff --git a/plugins/telephony/telephonyplugin.cpp b/plugins/telephony/telephonyplugin.cpp index a350372d1..72819421a 100644 --- a/plugins/telephony/telephonyplugin.cpp +++ b/plugins/telephony/telephonyplugin.cpp @@ -25,7 +25,6 @@ #include K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< TelephonyPlugin >(); ) -K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_telephony", "kdeconnect-plugins") ) Q_LOGGING_CATEGORY(KDECONNECT_PLUGIN_TELEPHONY, "kdeconnect.plugin.telephony")