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.
14 #include "kget_export.h"
23 class KGET_EXPORT Download
: public QObject
27 Download(const KUrl
&srcUrl
, const KUrl
&destUrl
);
31 void finishedSuccessfully(KUrl dest
, QByteArray data
);
32 void finishedWithError();
35 void slotResult(KJob
* job
);
36 void slotData(KIO::Job
*job
, const QByteArray
& data
);
39 KIO::TransferJob
*m_copyJob
;