summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-05-24 01:08:51 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-05-24 01:09:28 +0200
commit61f4d694c0eec98ce5036f2a7536c570a7f75950 (patch)
tree6dd5d523227b32d2ff6f3f7ac3a445756ee79821 /src/downloadmanager.h
parentReload Preview fix (diff)
downloadrekonq-61f4d694c0eec98ce5036f2a7536c570a7f75950.tar.xz
Add informations to download items
Diffstat (limited to 'src/downloadmanager.h')
-rw-r--r--src/downloadmanager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h
index 7033ef6c..bc20ff13 100644
--- a/src/downloadmanager.h
+++ b/src/downloadmanager.h
@@ -37,6 +37,7 @@
// KDE Includes
#include <kio/accessmanager.h>
+#include <KIO/CopyJob>
// Qt Includes
#include <QObject>
@@ -72,8 +73,9 @@ public:
private:
void init();
- DownloadItem* addDownload(const QString &srcUrl, const QString &destUrl);
-
+ DownloadItem* addDownload(KIO::CopyJob *job);
+ DownloadItem* addKGetDownload(const QString &srcUrl, const QString &destUrl);
+
Q_SIGNALS:
void newDownloadAdded(QObject *item);
void notifyDownload(const QString&, Rekonq::Notify = Rekonq::Download);