summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
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);