1 /* This file is part of the KDE project
3 Copyright (C) 2007 Lukas Appelhans <l.appelhans@gmx.de>
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 #ifndef BTTRANSFERFACTORY_H
11 #define BTTRANSFERFACTORY_H
13 #include "core/plugin/transferfactory.h"
14 #include "btdatasource.h"
16 class BTTransferFactory
: public TransferFactory
20 BTTransferFactory(QObject
*parent
, const QVariantList
&args
);
23 Transfer
* createTransfer(const KUrl
&srcUrl
, const KUrl
&destUrl
, TransferGroup
* parent
, Scheduler
* scheduler
, const QDomElement
* e
= 0);
25 TransferHandler
* createTransferHandler(Transfer
* transfer
, Scheduler
* scheduler
);
27 QWidget
* createDetailsWidget(TransferHandler
* transfer
);
29 const QList
<KAction
*> actions(TransferHandler
* handler
= 0);
31 TransferDataSource
* createTransferDataSource(const KUrl
&srcUrl
);