\section{KIO::File\-Copy\-Job Class Reference}
\label{classKIO_1_1FileCopyJob}\index{KIO::FileCopyJob@{KIO::FileCopyJob}}
The {\bf File\-Copy\-Job}{\rm (p.\,\pageref{classKIO_1_1FileCopyJob})} copies data from one place to another.  


{\tt \#include $<$jobclasses.h$>$}

Inheritance diagram for KIO::File\-Copy\-Job:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=66pt]{classKIO_1_1FileCopyJob__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KIO::File\-Copy\-Job:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=289pt]{classKIO_1_1FileCopyJob__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Start} ()\label{classKIO_1_1FileCopyJob_i0}

\item 
void {\bf slot\-Data} ({\bf KIO::Job} $\ast$, const  {\bf QByte\-Array} \&data)\label{classKIO_1_1FileCopyJob_i1}

\item 
void {\bf slot\-Data\-Req} ({\bf KIO::Job} $\ast$, {\bf QByte\-Array} \&data)\label{classKIO_1_1FileCopyJob_i2}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf File\-Copy\-Job} (const  {\bf KURL} \&src, const  {\bf KURL} \&dest, int permissions, bool move, bool overwrite, bool resume, bool show\-Progress\-Info)\label{classKIO_1_1FileCopyJob_a0}

\item 
void {\bf set\-Source\-Size} (off\_\-t size)
\begin{CompactList}\small\item\em If you know the size of the source file, call this method to inform this job. \item\end{CompactList}\item 
{\bf KURL} {\bf src\-URL} () const \label{classKIO_1_1FileCopyJob_a3}

\item 
{\bf KURL} {\bf dest\-URL} () const \label{classKIO_1_1FileCopyJob_a4}

\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
virtual void {\bf slot\-Result} ({\bf KIO::Job} $\ast$job)
\begin{CompactList}\small\item\em Called whenever a subjob finishes. \item\end{CompactList}\item 
void {\bf slot\-Processed\-Size} ({\bf KIO::Job} $\ast$, KIO::filesize\_\-t size)
\begin{CompactList}\small\item\em Forward signal from subjob. \item\end{CompactList}\item 
void {\bf slot\-Total\-Size} ({\bf KIO::Job} $\ast$, KIO::filesize\_\-t size)
\begin{CompactList}\small\item\em Forward signal from subjob. \item\end{CompactList}\item 
void {\bf slot\-Percent} ({\bf KIO::Job} $\ast$, unsigned long pct)
\begin{CompactList}\small\item\em Forward signal from subjob. \item\end{CompactList}\item 
void {\bf slot\-Can\-Resume} ({\bf KIO::Job} $\ast$, KIO::filesize\_\-t offset)
\begin{CompactList}\small\item\em Forward signal from subjob. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf start\-Copy\-Job} ()\label{classKIO_1_1FileCopyJob_b0}

\item 
void {\bf start\-Copy\-Job} (const  {\bf KURL} \&slave\_\-url)\label{classKIO_1_1FileCopyJob_b1}

\item 
void {\bf start\-Data\-Pump} ()\label{classKIO_1_1FileCopyJob_b2}

\item 
void {\bf connect\-Subjob} ({\bf Simple\-Job} $\ast$job)\label{classKIO_1_1FileCopyJob_b3}

\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKIO_1_1FileCopyJob_b4}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf KURL} {\bf m\_\-src}\label{classKIO_1_1FileCopyJob_p0}

\item 
{\bf KURL} {\bf m\_\-dest}\label{classKIO_1_1FileCopyJob_p1}

\item 
int {\bf m\_\-permissions}\label{classKIO_1_1FileCopyJob_p2}

\item 
bool {\bf m\_\-move}:1\label{classKIO_1_1FileCopyJob_p3}

\item 
bool {\bf m\_\-overwrite}:1\label{classKIO_1_1FileCopyJob_p4}

\item 
bool {\bf m\_\-resume}:1\label{classKIO_1_1FileCopyJob_p5}

\item 
bool {\bf m\_\-can\-Resume}:1\label{classKIO_1_1FileCopyJob_p6}

\item 
bool {\bf m\_\-resume\-Answer\-Sent}:1\label{classKIO_1_1FileCopyJob_p7}

\item 
{\bf QByte\-Array} {\bf m\_\-buffer}\label{classKIO_1_1FileCopyJob_p8}

\item 
{\bf Simple\-Job} $\ast$ {\bf m\_\-move\-Job}\label{classKIO_1_1FileCopyJob_p9}

\item 
{\bf Simple\-Job} $\ast$ {\bf m\_\-copy\-Job}\label{classKIO_1_1FileCopyJob_p10}

\item 
{\bf Transfer\-Job} $\ast$ {\bf m\_\-get\-Job}\label{classKIO_1_1FileCopyJob_p11}

\item 
{\bf Transfer\-Job} $\ast$ {\bf m\_\-put\-Job}\label{classKIO_1_1FileCopyJob_p12}

\item 
KIO::filesize\_\-t {\bf m\_\-total\-Size}\label{classKIO_1_1FileCopyJob_p13}

\end{CompactItemize}


\subsection{Detailed Description}
The {\bf File\-Copy\-Job}{\rm (p.\,\pageref{classKIO_1_1FileCopyJob})} copies data from one place to another. 



Definition at line 769 of file jobclasses.h.

\subsection{Member Function Documentation}
\index{KIO::FileCopyJob@{KIO::File\-Copy\-Job}!setSourceSize@{setSourceSize}}
\index{setSourceSize@{setSourceSize}!KIO::FileCopyJob@{KIO::File\-Copy\-Job}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KIO::File\-Copy\-Job::set\-Source\-Size (off\_\-t {\em size})}\label{classKIO_1_1FileCopyJob_a2}


If you know the size of the source file, call this method to inform this job. 

It will be displayed in the \char`\"{}resume\char`\"{} dialog. \index{KIO::FileCopyJob@{KIO::File\-Copy\-Job}!slotResult@{slotResult}}
\index{slotResult@{slotResult}!KIO::FileCopyJob@{KIO::File\-Copy\-Job}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void KIO::File\-Copy\-Job::slot\-Result ({\bf KIO::Job} $\ast$ {\em job})\hspace{0.3cm}{\tt  [protected, virtual, slot]}}\label{classKIO_1_1FileCopyJob_j0}


Called whenever a subjob finishes. 



Reimplemented from {\bf KIO::Job} {\rm (p.\,\pageref{classKIO_1_1Job_j0})}.\index{KIO::FileCopyJob@{KIO::File\-Copy\-Job}!slotProcessedSize@{slotProcessedSize}}
\index{slotProcessedSize@{slotProcessedSize}!KIO::FileCopyJob@{KIO::File\-Copy\-Job}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KIO::File\-Copy\-Job::slot\-Processed\-Size ({\bf KIO::Job} $\ast$, KIO::filesize\_\-t {\em size})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKIO_1_1FileCopyJob_j1}


Forward signal from subjob. 

\index{KIO::FileCopyJob@{KIO::File\-Copy\-Job}!slotTotalSize@{slotTotalSize}}
\index{slotTotalSize@{slotTotalSize}!KIO::FileCopyJob@{KIO::File\-Copy\-Job}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KIO::File\-Copy\-Job::slot\-Total\-Size ({\bf KIO::Job} $\ast$, KIO::filesize\_\-t {\em size})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKIO_1_1FileCopyJob_j2}


Forward signal from subjob. 

\index{KIO::FileCopyJob@{KIO::File\-Copy\-Job}!slotPercent@{slotPercent}}
\index{slotPercent@{slotPercent}!KIO::FileCopyJob@{KIO::File\-Copy\-Job}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KIO::File\-Copy\-Job::slot\-Percent ({\bf KIO::Job} $\ast$, unsigned long {\em pct})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKIO_1_1FileCopyJob_j3}


Forward signal from subjob. 

\index{KIO::FileCopyJob@{KIO::File\-Copy\-Job}!slotCanResume@{slotCanResume}}
\index{slotCanResume@{slotCanResume}!KIO::FileCopyJob@{KIO::File\-Copy\-Job}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KIO::File\-Copy\-Job::slot\-Can\-Resume ({\bf KIO::Job} $\ast$, KIO::filesize\_\-t {\em offset})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKIO_1_1FileCopyJob_j4}


Forward signal from subjob. 



The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
jobclasses.h\end{CompactItemize}
