Commit 382590ae authored by Albert Astals Cid's avatar Albert Astals Cid

Use the nicer K_PLUGIN_CLASS_WITH_JSON

parent ef765deb
......@@ -22,7 +22,7 @@
#include <version.h>
#include <torrent/job.h>
K_PLUGIN_FACTORY_WITH_JSON(KGetFactory, "kget_bittorrentfactory.json", registerPlugin<BTTransferFactory>();)
K_PLUGIN_CLASS_WITH_JSON(BTTransferFactory, "kget_bittorrentfactory.json")
BTTransferFactory::BTTransferFactory(QObject *parent, const QVariantList &args)
: TransferFactory(parent, args)
......
......@@ -20,7 +20,7 @@
#include <qdebug.h>
K_PLUGIN_FACTORY_WITH_JSON(KGetFactory, "kget_checksumsearchfactory.json", registerPlugin<ChecksumSearchFactory>();)
K_PLUGIN_CLASS_WITH_JSON(ChecksumSearchFactory, "kget_checksumsearchfactory.json")
ChecksumSearchFactory::ChecksumSearchFactory(QObject *parent, const QVariantList &args)
: TransferFactory(parent, args)
......
......@@ -22,7 +22,7 @@
#include <QDebug>
K_PLUGIN_FACTORY_WITH_JSON(KGetFactory, "kget_contentfetchfactory.json", registerPlugin<ContentFetchFactory>();)
K_PLUGIN_CLASS_WITH_JSON(ContentFetchFactory, "kget_contentfetchfactory.json")
ContentFetchFactory::ContentFetchFactory(QObject *parent,
const QVariantList &args)
......
......@@ -18,7 +18,7 @@
#include <qdebug.h>
#include <kpluginfactory.h>
K_PLUGIN_FACTORY_WITH_JSON(KGetFactory, "kget_kiofactory.json", registerPlugin<TransferKioFactory>();)
K_PLUGIN_CLASS_WITH_JSON(TransferKioFactory, "kget_kiofactory.json")
TransferKioFactory::TransferKioFactory(QObject *parent, const QVariantList &args)
: TransferFactory(parent, args)
......
......@@ -20,7 +20,7 @@
#include "kget_debug.h"
#include <qdebug.h>
K_PLUGIN_FACTORY_WITH_JSON(KGetFactory, "kget_metalinkfactory.json", registerPlugin<MetalinkFactory>();)
K_PLUGIN_CLASS_WITH_JSON(MetalinkFactory, "kget_metalinkfactory.json")
MetalinkFactory::MetalinkFactory(QObject *parent, const QVariantList &args)
: TransferFactory(parent, args)
......
......@@ -19,7 +19,7 @@
#include <QDomElement>
K_PLUGIN_FACTORY_WITH_JSON(KGetFactory, "kget_mirrorsearchfactory.json", registerPlugin<MirrorSearchFactory>();)
K_PLUGIN_CLASS_WITH_JSON(MirrorSearchFactory, "kget_mirrorsearchfactory.json")
MirrorSearchFactory::MirrorSearchFactory(QObject *parent, const QVariantList &args)
: TransferFactory(parent, args)
......
......@@ -26,7 +26,7 @@
#include "kget_debug.h"
#include <qdebug.h>
K_PLUGIN_FACTORY_WITH_JSON(KGetFactory, "kget_mmsfactory.json", registerPlugin<MmsTransferFactory>();)
K_PLUGIN_CLASS_WITH_JSON(MmsTransferFactory, "kget_mmsfactory.json")
MmsTransferFactory::MmsTransferFactory(QObject *parent, const QVariantList &args)
: TransferFactory(parent, args)
......
......@@ -23,7 +23,7 @@
#include <qdebug.h>
#include "kget_macro.h"
K_PLUGIN_FACTORY_WITH_JSON(KGetFactory, "kget_multisegkiofactory.json", registerPlugin<TransferMultiSegKioFactory>();)
K_PLUGIN_CLASS_WITH_JSON(TransferMultiSegKioFactory, "kget_multisegkiofactory.json")
TransferMultiSegKioFactory::TransferMultiSegKioFactory(QObject *parent, const QVariantList &args)
: TransferFactory(parent, args)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment