Proof-reading changes.
[kdenetwork.git] / kget / transfer-plugins / bittorrent / bttransferfactory.h
blob11a8bbe231f446e5716d6e49db85a13ecb6e7086
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.
9 */
10 #ifndef BTTRANSFERFACTORY_H
11 #define BTTRANSFERFACTORY_H
13 #include "core/plugin/transferfactory.h"
14 #include "btdatasource.h"
16 class BTTransferFactory : public TransferFactory
18 Q_OBJECT
19 public:
20 BTTransferFactory(QObject *parent, const QVariantList &args);
21 ~BTTransferFactory();
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);
35 #endif