From bcb704366cb5e333a626c18c308c7e0448a8e69f Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kget/getfilejob.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 kget/getfilejob.cpp (limited to 'kget/getfilejob.cpp') 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 + email : pch@freeshell.org + ***************************************************************************/ + +/*************************************************************************** + * * + * 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; +} + + +} -- cgit v1.2.1