summaryrefslogtreecommitdiffstats
path: root/kget/getfilejob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/getfilejob.cpp')
-rw-r--r--kget/getfilejob.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/kget/getfilejob.cpp b/kget/getfilejob.cpp
new file mode 100644
index 00000000..3710dda1
--- /dev/null
+++ b/kget/getfilejob.cpp
@@ -0,0 +1,37 @@
+/***************************************************************************
+ getfilejob.cpp - description
+ -------------------
+ begin : Wed May 8 2002
+ copyright : (C) 2002 by Patrick Charbonnier
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#include "getfilejob.h"
+
+namespace KIO
+{
+
+
+GetFileJob::GetFileJob(const KURL & m_src, const KURL & m_dest):FileCopyJob(m_src, m_dest,-1, false, false, false, false)
+{}
+
+GetFileJob::~GetFileJob()
+{}
+
+/** Return true if the file has been resumed */
+bool GetFileJob::getCanResume()const
+{
+ return m_canResume;
+}
+
+
+}