.TH "KIO::FileCopyJob" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KIO::FileCopyJob \- The \fBFileCopyJob\fP copies data from one place to another.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <jobclasses.h>\fP
.PP
Inherits \fBKIO::Job\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "void \fBslotStart\fP ()"
.br
.ti -1c
.RI "void \fBslotData\fP (\fBKIO::Job\fP *, const  \fBQByteArray\fP &data)"
.br
.ti -1c
.RI "void \fBslotDataReq\fP (\fBKIO::Job\fP *, \fBQByteArray\fP &data)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBFileCopyJob\fP (const  \fBKURL\fP &src, const  \fBKURL\fP &dest, int permissions, bool move, bool overwrite, bool resume, bool showProgressInfo)"
.br
.ti -1c
.RI "void \fBsetSourceSize\fP (off_t size)"
.br
.RI "\fIIf you know the size of the source file, call this method to inform this job. \fP"
.ti -1c
.RI "\fBKURL\fP \fBsrcURL\fP () const "
.br
.ti -1c
.RI "\fBKURL\fP \fBdestURL\fP () const "
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "virtual void \fBslotResult\fP (\fBKIO::Job\fP *job)"
.br
.RI "\fICalled whenever a subjob finishes. \fP"
.ti -1c
.RI "void \fBslotProcessedSize\fP (\fBKIO::Job\fP *, KIO::filesize_t size)"
.br
.RI "\fIForward signal from subjob. \fP"
.ti -1c
.RI "void \fBslotTotalSize\fP (\fBKIO::Job\fP *, KIO::filesize_t size)"
.br
.RI "\fIForward signal from subjob. \fP"
.ti -1c
.RI "void \fBslotPercent\fP (\fBKIO::Job\fP *, unsigned long pct)"
.br
.RI "\fIForward signal from subjob. \fP"
.ti -1c
.RI "void \fBslotCanResume\fP (\fBKIO::Job\fP *, KIO::filesize_t offset)"
.br
.RI "\fIForward signal from subjob. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBstartCopyJob\fP ()"
.br
.ti -1c
.RI "void \fBstartCopyJob\fP (const  \fBKURL\fP &slave_url)"
.br
.ti -1c
.RI "void \fBstartDataPump\fP ()"
.br
.ti -1c
.RI "void \fBconnectSubjob\fP (\fBSimpleJob\fP *job)"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "\fBKURL\fP \fBm_src\fP"
.br
.ti -1c
.RI "\fBKURL\fP \fBm_dest\fP"
.br
.ti -1c
.RI "int \fBm_permissions\fP"
.br
.ti -1c
.RI "bool \fBm_move\fP:1"
.br
.ti -1c
.RI "bool \fBm_overwrite\fP:1"
.br
.ti -1c
.RI "bool \fBm_resume\fP:1"
.br
.ti -1c
.RI "bool \fBm_canResume\fP:1"
.br
.ti -1c
.RI "bool \fBm_resumeAnswerSent\fP:1"
.br
.ti -1c
.RI "\fBQByteArray\fP \fBm_buffer\fP"
.br
.ti -1c
.RI "\fBSimpleJob\fP * \fBm_moveJob\fP"
.br
.ti -1c
.RI "\fBSimpleJob\fP * \fBm_copyJob\fP"
.br
.ti -1c
.RI "\fBTransferJob\fP * \fBm_getJob\fP"
.br
.ti -1c
.RI "\fBTransferJob\fP * \fBm_putJob\fP"
.br
.ti -1c
.RI "KIO::filesize_t \fBm_totalSize\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
The \fBFileCopyJob\fP copies data from one place to another. Definition at line 769 of file jobclasses.h.
.SH "Member Function Documentation"
.PP 
.SS "void KIO::FileCopyJob::setSourceSize (off_t size)"
.PP
If you know the size of the source file, call this method to inform this job. It will be displayed in the 'resume' dialog. 
.SS "virtual void KIO::FileCopyJob::slotResult (\fBKIO::Job\fP * job)\fC [protected, virtual, slot]\fP"
.PP
Called whenever a subjob finishes. Reimplemented from \fBKIO::Job\fP.
.SS "void KIO::FileCopyJob::slotProcessedSize (\fBKIO::Job\fP *, KIO::filesize_t size)\fC [protected, slot]\fP"
.PP
Forward signal from subjob. 
.SS "void KIO::FileCopyJob::slotTotalSize (\fBKIO::Job\fP *, KIO::filesize_t size)\fC [protected, slot]\fP"
.PP
Forward signal from subjob. 
.SS "void KIO::FileCopyJob::slotPercent (\fBKIO::Job\fP *, unsigned long pct)\fC [protected, slot]\fP"
.PP
Forward signal from subjob. 
.SS "void KIO::FileCopyJob::slotCanResume (\fBKIO::Job\fP *, KIO::filesize_t offset)\fC [protected, slot]\fP"
.PP
Forward signal from subjob. 

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
