Make sendfileitemaction ready for qCDebug

We are not using debug statements in this pluging, but for when we do
debugging will be ready.
This commit is contained in:
Àlex Fiestas 2014-09-22 00:15:36 +02:00
parent df0c262998
commit 101c741266
2 changed files with 4 additions and 1 deletions

View file

@ -33,7 +33,6 @@
#include <KPluginFactory>
#include <KPluginLoader>
#include <KDebug>
#include <KProcess>
#include <KLocalizedString>
#include <QUrl>
@ -41,6 +40,8 @@
K_PLUGIN_FACTORY(SendFileItemActionFactory, registerPlugin<SendFileItemAction>();)
K_EXPORT_PLUGIN(SendFileItemActionFactory("SendFileItemAction", "kdeconnect-filetiemaction"))
Q_LOGGING_CATEGORY(KDECONNECT_FILEITEMACTION, "kdeconnect.fileitemaction")
SendFileItemAction::SendFileItemAction(QObject* parent, const QVariantList& ): KFileItemActionPlugin(parent)
{
}

View file

@ -23,11 +23,13 @@
#include <kfileitemactionplugin.h>
#include <KFileItemListProperties>
#include <QLoggingCategory>
class QAction;
class KFileItemListProperties;
class QWidget;
Q_DECLARE_LOGGING_CATEGORY(KDECONNECT_FILEITEMACTION)
class SendFileItemAction : public KFileItemActionPlugin
{
Q_OBJECT