Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 5190

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kio/kio: KIO::CopyJob Class Reference (kio/kio)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../../..">API Reference</a>
 / <a href="../../html/index.html">kio</a> / <a href=".">kio</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceKIO.html">KIO</a>      </li>
      <li class="navelem"><a class="el" href="classKIO_1_1CopyJob.html">CopyJob</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-slots">Protected Slots</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">KIO::CopyJob Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KIO::CopyJob" --><!-- doxytag: inherits="KIO::Job" -->
<p><a class="el" href="classKIO_1_1CopyJob.html" title="CopyJob is used to move, copy or symlink files and directories.">CopyJob</a> is used to move, copy or symlink files and directories.  
 <a href="classKIO_1_1CopyJob.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="jobclasses_8h_source.html">jobclasses.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KIO::CopyJob:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKIO_1_1CopyJob.png" usemap="#KIO::CopyJob_map" alt=""/>
  <map id="KIO::CopyJob_map" name="KIO::CopyJob_map">
<area href="classKIO_1_1Job.html" title="The base class for all jobs." alt="KIO::Job" shape="rect" coords="0,56,90,80"/>
<area href="qobject.html" alt="QObject" shape="rect" coords="0,0,90,24"/>
</map>
 </div></div>

<p><a href="classKIO_1_1CopyJob-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a1ebf30f50bd8e8dd41b3e02e30ee3bbc">CopyMode</a> { <b>Copy</b>, 
<b>Move</b>, 
<b>Link</b>
 }</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a6e5780501edf7f4a950b1207b250d969">totalFiles</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, unsigned long files)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a7d4f003812480d10766fbcf34a4ae84c">totalDirs</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, unsigned long dirs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a2613749a001a3990b27911b5b861dafa">aboutToCreate</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; KIO::CopyInfo &gt; &amp;files)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#ad1776662b617e5bba241e5406c56efe7">processedFiles</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, unsigned long files)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#abe43511fa579bee4cfb0ae641d2bb17b">processedDirs</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, unsigned long dirs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#af40d141b1c976f37ab9acb8d62f31a24">copying</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, const KURL &amp;from, const KURL &amp;to)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a34b0c957de4cb58ab158d2fcad256e57">linking</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, const <a class="elRef" href="qstring.html">QString</a> &amp;target, const KURL &amp;to)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a37e5a0ef983876db8d9826a8ca9e3111">moving</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, const KURL &amp;from, const KURL &amp;to)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a9df4942f49962551f1680f9f127fe545">creatingDir</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, const KURL &amp;dir)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a9deacfede900575d4efc8c701fd0f112">renamed</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, const KURL &amp;from, const KURL &amp;to)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#afa1621a0275a14fe3254512422b57350">copyingDone</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, const KURL &amp;from, const KURL &amp;to, bool directory, bool renamed)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a08010ab85bf51074ea689019f50005a4">copyingLinkDone</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job, const KURL &amp;from, const <a class="elRef" href="qstring.html">QString</a> &amp;target, const KURL &amp;to)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a84cbc7df200f641c0671997cf1ffe796">CopyJob</a> (const KURL::List &amp;src, const KURL &amp;dest, <a class="el" href="classKIO_1_1CopyJob.html#a1ebf30f50bd8e8dd41b3e02e30ee3bbc">CopyMode</a> mode, bool asMethod, bool showProgressInfo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KURL::List&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a5b8b100ed3e88475b78fe7da24dda595">srcURLs</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KURL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a75be26e1d6bedf1c9e263cd5d80d9b6b">destURL</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a3bd4dda22a3bd50adf195542d9d009ad">setDefaultPermissions</a> (bool b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#ac5aabb6912083d5deec2e424dd09b567">setInteractive</a> (bool b)</td></tr>
<tr><td colspan="2"><h2><a name="pro-slots"></a>
Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a939da7c61edffae319655ebb74994620">slotStart</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a342acd4aee8ee418238292e1bac34e32"></a><!-- doxytag: member="KIO::CopyJob::slotEntries" ref="a342acd4aee8ee418238292e1bac34e32" args="(KIO::Job *, const KIO::UDSEntryList &amp;list)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotEntries</b> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *, const <a class="elRef" href="qvaluelist.html">KIO::UDSEntryList</a> &amp;list)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#af8b9cb29bae01264d1c095d4e5a70cfa">slotResult</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#a3dac8fa4b7a352a2e7361f744f91375c">slotProcessedSize</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *, <a class="el" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43">KIO::filesize_t</a> data_size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIO_1_1CopyJob.html#acb6e0d4d311c9b6e079d9b6472c73bb3">slotTotalSize</a> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *, <a class="el" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43">KIO::filesize_t</a> size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a40b7d339510f30d90f0c957ae6a33c"></a><!-- doxytag: member="KIO::CopyJob::slotReport" ref="a3a40b7d339510f30d90f0c957ae6a33c" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotReport</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8e7d1e536a2a094362429a353824354"></a><!-- doxytag: member="KIO::CopyJob::statCurrentSrc" ref="ac8e7d1e536a2a094362429a353824354" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>statCurrentSrc</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ed10a8c54744bd53df5fccd4619c1ae"></a><!-- doxytag: member="KIO::CopyJob::statNextSrc" ref="a0ed10a8c54744bd53df5fccd4619c1ae" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>statNextSrc</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1446fa6e59f71359605f450ae90a852e"></a><!-- doxytag: member="KIO::CopyJob::slotResultStating" ref="a1446fa6e59f71359605f450ae90a852e" args="(KIO::Job *job)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotResultStating</b> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ac568df53568df921b6fb4caf65505d"></a><!-- doxytag: member="KIO::CopyJob::startListing" ref="a2ac568df53568df921b6fb4caf65505d" args="(const KURL &amp;src)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>startListing</b> (const KURL &amp;src)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10d2090b4b2d7552d5ac7c149f91f11f"></a><!-- doxytag: member="KIO::CopyJob::slotResultCreatingDirs" ref="a10d2090b4b2d7552d5ac7c149f91f11f" args="(KIO::Job *job)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotResultCreatingDirs</b> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78412216ad5219cce34ebb9aefde0111"></a><!-- doxytag: member="KIO::CopyJob::slotResultConflictCreatingDirs" ref="a78412216ad5219cce34ebb9aefde0111" args="(KIO::Job *job)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotResultConflictCreatingDirs</b> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a666ed48254ac6be35b627022d9917ec0"></a><!-- doxytag: member="KIO::CopyJob::createNextDir" ref="a666ed48254ac6be35b627022d9917ec0" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>createNextDir</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d65e1631083fe69431207aea8b9c3f1"></a><!-- doxytag: member="KIO::CopyJob::slotResultCopyingFiles" ref="a0d65e1631083fe69431207aea8b9c3f1" args="(KIO::Job *job)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotResultCopyingFiles</b> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a722d82178960cf1dd47558ab5e9def92"></a><!-- doxytag: member="KIO::CopyJob::slotResultConflictCopyingFiles" ref="a722d82178960cf1dd47558ab5e9def92" args="(KIO::Job *job)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotResultConflictCopyingFiles</b> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5c8eca64137b95501edbf3a168fd0d2"></a><!-- doxytag: member="KIO::CopyJob::copyNextFile" ref="ac5c8eca64137b95501edbf3a168fd0d2" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>copyNextFile</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad11b34498b1449e737d95120222443b8"></a><!-- doxytag: member="KIO::CopyJob::slotResultDeletingDirs" ref="ad11b34498b1449e737d95120222443b8" args="(KIO::Job *job)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotResultDeletingDirs</b> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a506fbed6e2c9e6c87c023ea41ef8da36"></a><!-- doxytag: member="KIO::CopyJob::deleteNextDir" ref="a506fbed6e2c9e6c87c023ea41ef8da36" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>deleteNextDir</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85bcfc280cea3ca38d8ebbb4936d4b4b"></a><!-- doxytag: member="KIO::CopyJob::skip" ref="a85bcfc280cea3ca38d8ebbb4936d4b4b" args="(const KURL &amp;sourceURL)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>skip</b> (const KURL &amp;sourceURL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11161fe3a6d6688807e474c88b3169f9"></a><!-- doxytag: member="KIO::CopyJob::slotResultRenaming" ref="a11161fe3a6d6688807e474c88b3169f9" args="(KIO::Job *job)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotResultRenaming</b> (<a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *job)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af54fecc4dd8c648c3dcd42dbba30b5e2"></a><!-- doxytag: member="KIO::CopyJob::setNextDirAttribute" ref="af54fecc4dd8c648c3dcd42dbba30b5e2" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setNextDirAttribute</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a990a08d0f77f55ca306eadf5f8f288ba"></a><!-- doxytag: member="KIO::CopyJob::virtual_hook" ref="a990a08d0f77f55ca306eadf5f8f288ba" args="(int id, void *data)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34c608740a0c2f7b10cb1812002d316f"></a><!-- doxytag: member="KIO::CopyJob::CopyJobPrivate" ref="a34c608740a0c2f7b10cb1812002d316f" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>CopyJobPrivate</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classKIO_1_1CopyJob.html" title="CopyJob is used to move, copy or symlink files and directories.">CopyJob</a> is used to move, copy or symlink files and directories. </p>
<p>Don't create the job directly, but use <a class="el" href="namespaceKIO.html#ad549c3266cc1e006c5603df5d83831d8" title="Copy a file or directory src into the destination dest, which can be a file (including the final file...">KIO::copy()</a>, <a class="el" href="namespaceKIO.html#ad9d36bfb013509a1aa918435c164808c" title="Moves a file or directory src to the given destination dest.">KIO::move()</a>, <a class="el" href="namespaceKIO.html#a47b3c5c9ca34182e6beb2cd2f5976128" title="Create a link.">KIO::link()</a> and friends.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespaceKIO.html#ad549c3266cc1e006c5603df5d83831d8" title="Copy a file or directory src into the destination dest, which can be a file (including the final file...">KIO::copy()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#a8ea190ea16bfa965bb8eda50899910b1" title="Copy a file or directory src into the destination dest, which is the destination name in any case...">KIO::copyAs()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#ad9d36bfb013509a1aa918435c164808c" title="Moves a file or directory src to the given destination dest.">KIO::move()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#ae0ea8ff594571c41a2b4817d1083e969" title="Moves a file or directory src to the given destination dest.">KIO::moveAs()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#a47b3c5c9ca34182e6beb2cd2f5976128" title="Create a link.">KIO::link()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#a4bb0d5dd4034b25b4c2634c41c2622e9" title="Create a link.">KIO::linkAs()</a> </dd></dl>

<p>Definition at line <a class="el" href="jobclasses_8h_source.html#l01508">1508</a> of file <a class="el" href="jobclasses_8h_source.html">jobclasses.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a1ebf30f50bd8e8dd41b3e02e30ee3bbc"></a><!-- doxytag: member="KIO::CopyJob::CopyMode" ref="a1ebf30f50bd8e8dd41b3e02e30ee3bbc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKIO_1_1CopyJob.html#a1ebf30f50bd8e8dd41b3e02e30ee3bbc">KIO::CopyJob::CopyMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Defines the mode of the operation. </p>

<p>Definition at line <a class="el" href="jobclasses_8h_source.html#l01515">1515</a> of file <a class="el" href="jobclasses_8h_source.html">jobclasses.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a84cbc7df200f641c0671997cf1ffe796"></a><!-- doxytag: member="KIO::CopyJob::CopyJob" ref="a84cbc7df200f641c0671997cf1ffe796" args="(const KURL::List &amp;src, const KURL &amp;dest, CopyMode mode, bool asMethod, bool showProgressInfo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CopyJob::CopyJob </td>
          <td>(</td>
          <td class="paramtype">const KURL::List &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKIO_1_1CopyJob.html#a1ebf30f50bd8e8dd41b3e02e30ee3bbc">CopyMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>asMethod</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>showProgressInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Do not create a <a class="el" href="classKIO_1_1CopyJob.html" title="CopyJob is used to move, copy or symlink files and directories.">CopyJob</a> directly. </p>
<p>Use <a class="el" href="namespaceKIO.html#ad549c3266cc1e006c5603df5d83831d8" title="Copy a file or directory src into the destination dest, which can be a file (including the final file...">KIO::copy()</a>, <a class="el" href="namespaceKIO.html#ad9d36bfb013509a1aa918435c164808c" title="Moves a file or directory src to the given destination dest.">KIO::move()</a>, <a class="el" href="namespaceKIO.html#a47b3c5c9ca34182e6beb2cd2f5976128" title="Create a link.">KIO::link()</a> and friends instead.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>the list of source URLs </td></tr>
    <tr><td class="paramname">dest</td><td>the destination URL </td></tr>
    <tr><td class="paramname">mode</td><td>specifies whether the job should copy, move or link </td></tr>
    <tr><td class="paramname">asMethod</td><td>if true, behaves like <a class="el" href="namespaceKIO.html#a8ea190ea16bfa965bb8eda50899910b1" title="Copy a file or directory src into the destination dest, which is the destination name in any case...">KIO::copyAs()</a>, <a class="el" href="namespaceKIO.html#ae0ea8ff594571c41a2b4817d1083e969" title="Moves a file or directory src to the given destination dest.">KIO::moveAs()</a> or <a class="el" href="namespaceKIO.html#a4bb0d5dd4034b25b4c2634c41c2622e9" title="Create a link.">KIO::linkAs()</a> </td></tr>
    <tr><td class="paramname">showProgressInfo</td><td>true to show progress information to the user </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespaceKIO.html#ad549c3266cc1e006c5603df5d83831d8" title="Copy a file or directory src into the destination dest, which can be a file (including the final file...">KIO::copy()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#a8ea190ea16bfa965bb8eda50899910b1" title="Copy a file or directory src into the destination dest, which is the destination name in any case...">KIO::copyAs()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#ad9d36bfb013509a1aa918435c164808c" title="Moves a file or directory src to the given destination dest.">KIO::move()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#ae0ea8ff594571c41a2b4817d1083e969" title="Moves a file or directory src to the given destination dest.">KIO::moveAs()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#a47b3c5c9ca34182e6beb2cd2f5976128" title="Create a link.">KIO::link()</a> </dd>
<dd>
<a class="el" href="namespaceKIO.html#a4bb0d5dd4034b25b4c2634c41c2622e9" title="Create a link.">KIO::linkAs()</a> </dd></dl>

<p><p>States: STATE_STATING for the dest STATE_STATING for each src url (statNextSrc) for each: if dir -&gt; STATE_LISTING (filling 'dirs' and 'files') but if direct rename possible: STATE_RENAMING instead. STATE_CREATING_DIRS (createNextDir, iterating over 'dirs') if conflict: STATE_CONFLICT_CREATING_DIRS STATE_COPYING_FILES (copyNextFile, iterating over 'files') if conflict: STATE_CONFLICT_COPYING_FILES STATE_DELETING_DIRS (deleteNextDir) (if moving) STATE_SETTING_DIR_ATTRIBUTES (setNextDirAttribute, iterating over d-&gt;m_directoriesCopied) done.</p>
</p>

<p>Definition at line <a class="el" href="job_8cpp_source.html#l02214">2214</a> of file <a class="el" href="job_8cpp_source.html">job.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2613749a001a3990b27911b5b861dafa"></a><!-- doxytag: member="KIO::CopyJob::aboutToCreate" ref="a2613749a001a3990b27911b5b861dafa" args="(KIO::Job *job, const QValueList&lt; KIO::CopyInfo &gt; &amp;files)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::aboutToCreate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; KIO::CopyInfo &gt; &amp;&#160;</td>
          <td class="paramname"><em>files</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when it is known which files / directories are going to be created. </p>
<p>Note that this may still change e.g. when existing files with the same name are discovered. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">files</td><td>a list of items that are about to be created. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af40d141b1c976f37ab9acb8d62f31a24"></a><!-- doxytag: member="KIO::CopyJob::copying" ref="af40d141b1c976f37ab9acb8d62f31a24" args="(KIO::Job *job, const KURL &amp;from, const KURL &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::copying </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The job is copying a file or directory. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">from</td><td>the URl of the file or directory that is currently being copied </td></tr>
    <tr><td class="paramname">to</td><td>the destination of the current operation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afa1621a0275a14fe3254512422b57350"></a><!-- doxytag: member="KIO::CopyJob::copyingDone" ref="afa1621a0275a14fe3254512422b57350" args="(KIO::Job *job, const KURL &amp;from, const KURL &amp;to, bool directory, bool renamed)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::copyingDone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>directory</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>renamed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The job emits this signal when copying or moving a file or directory successfully finished. </p>
<p>This signal is mainly for the Undo feature.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">from</td><td>the source URL </td></tr>
    <tr><td class="paramname">to</td><td>the destination URL </td></tr>
    <tr><td class="paramname">directory</td><td>indicates whether a file or directory was successfully copied/moved. true for a directoy, false for file </td></tr>
    <tr><td class="paramname">renamed</td><td>indicates that the destination URL was created using a rename operation (i.e. fast directory moving). true if is has been renamed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a08010ab85bf51074ea689019f50005a4"></a><!-- doxytag: member="KIO::CopyJob::copyingLinkDone" ref="a08010ab85bf51074ea689019f50005a4" args="(KIO::Job *job, const KURL &amp;from, const QString &amp;target, const KURL &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::copyingLinkDone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The job is copying or moving a symbolic link, that points to target. </p>
<p>The new link is created in <code>to</code>. The existing one is/was in <code>from</code>. This signal is mainly for the Undo feature. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">from</td><td>the source URL </td></tr>
    <tr><td class="paramname">target</td><td>the target </td></tr>
    <tr><td class="paramname">to</td><td>the destination URL </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9df4942f49962551f1680f9f127fe545"></a><!-- doxytag: member="KIO::CopyJob::creatingDir" ref="a9df4942f49962551f1680f9f127fe545" args="(KIO::Job *job, const KURL &amp;dir)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::creatingDir </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The job is creating the directory <code>dir</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">dir</td><td>the directory that is currently being created </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a75be26e1d6bedf1c9e263cd5d80d9b6b"></a><!-- doxytag: member="KIO::CopyJob::destURL" ref="a75be26e1d6bedf1c9e263cd5d80d9b6b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL KIO::CopyJob::destURL </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the destination URL. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the destination URL </dd></dl>

<p>Definition at line <a class="el" href="jobclasses_8h_source.html#l01548">1548</a> of file <a class="el" href="jobclasses_8h_source.html">jobclasses.h</a>.</p>

</div>
</div>
<a class="anchor" id="a34b0c957de4cb58ab158d2fcad256e57"></a><!-- doxytag: member="KIO::CopyJob::linking" ref="a34b0c957de4cb58ab158d2fcad256e57" args="(KIO::Job *job, const QString &amp;target, const KURL &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::linking </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The job is creating a symbolic link. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">target</td><td>the URl of the file or directory that is currently being linked </td></tr>
    <tr><td class="paramname">to</td><td>the destination of the current operation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a37e5a0ef983876db8d9826a8ca9e3111"></a><!-- doxytag: member="KIO::CopyJob::moving" ref="a37e5a0ef983876db8d9826a8ca9e3111" args="(KIO::Job *job, const KURL &amp;from, const KURL &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::moving </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The job is moving a file or directory. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">from</td><td>the URl of the file or directory that is currently being moved </td></tr>
    <tr><td class="paramname">to</td><td>the destination of the current operation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abe43511fa579bee4cfb0ae641d2bb17b"></a><!-- doxytag: member="KIO::CopyJob::processedDirs" ref="abe43511fa579bee4cfb0ae641d2bb17b" args="(KIO::Job *job, unsigned long dirs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::processedDirs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>dirs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sends the number of processed directories. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">dirs</td><td>the number of processed dirs </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad1776662b617e5bba241e5406c56efe7"></a><!-- doxytag: member="KIO::CopyJob::processedFiles" ref="ad1776662b617e5bba241e5406c56efe7" args="(KIO::Job *job, unsigned long files)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::processedFiles </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>files</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sends the number of processed files. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">files</td><td>the number of processed files </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9deacfede900575d4efc8c701fd0f112"></a><!-- doxytag: member="KIO::CopyJob::renamed" ref="a9deacfede900575d4efc8c701fd0f112" args="(KIO::Job *job, const KURL &amp;from, const KURL &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::renamed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const KURL &amp;&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The user chose to rename <code>from</code> to <code>to</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">from</td><td>the original name </td></tr>
    <tr><td class="paramname">to</td><td>the new name </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3bd4dda22a3bd50adf195542d9d009ad"></a><!-- doxytag: member="KIO::CopyJob::setDefaultPermissions" ref="a3bd4dda22a3bd50adf195542d9d009ad" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::setDefaultPermissions </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>By default the permissions of the copied files will be those of the source files. </p>
<p>But when copying "template" files to "new" files, people prefer the umask to apply, rather than the template's permissions. For that case, call setDefaultPermissions(true)</p>
<p>TODO KDE4: consider adding this as bool to copy/copyAs? </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2.3 </dd></dl>

<p>Definition at line <a class="el" href="job_8cpp_source.html#l03875">3875</a> of file <a class="el" href="job_8cpp_source.html">job.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac5aabb6912083d5deec2e424dd09b567"></a><!-- doxytag: member="KIO::CopyJob::setInteractive" ref="ac5aabb6912083d5deec2e424dd09b567" args="(bool b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::setInteractive </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>When an error happens while copying/moving a file, the user will be presented with a dialog for skipping the file that can't be copied/moved. </p>
<p>Or if the error is that the destination file already exists, the standard rename dialog is shown. If the program doesn't want <a class="el" href="classKIO_1_1CopyJob.html" title="CopyJob is used to move, copy or symlink files and directories.">CopyJob</a> to show dialogs, but to simply fail on error, call setInteractive( false ).</p>
<p>KDE4: remove, already in <a class="el" href="classKIO_1_1Job.html" title="The base class for all jobs.">Job</a> </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Reimplemented from <a class="el" href="classKIO_1_1Job.html#ac1ffc7a65315ccaa8edde884e0449165">KIO::Job</a>.</p>

<p>Definition at line <a class="el" href="job_8cpp_source.html#l03881">3881</a> of file <a class="el" href="job_8cpp_source.html">job.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3dac8fa4b7a352a2e7361f744f91375c"></a><!-- doxytag: member="KIO::CopyJob::slotProcessedSize" ref="a3dac8fa4b7a352a2e7361f744f91375c" args="(KIO::Job *, KIO::filesize_t data_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CopyJob::slotProcessedSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43">KIO::filesize_t</a>&#160;</td>
          <td class="paramname"><em>data_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Forward signal from subjob. </p>

<p>Definition at line <a class="el" href="job_8cpp_source.html#l03573">3573</a> of file <a class="el" href="job_8cpp_source.html">job.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af8b9cb29bae01264d1c095d4e5a70cfa"></a><!-- doxytag: member="KIO::CopyJob::slotResult" ref="af8b9cb29bae01264d1c095d4e5a70cfa" args="(KIO::Job *job)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CopyJob::slotResult </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em></td><td>)</td>
          <td><code> [protected, virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Called whenever a subjob finishes. </p>
<p>Default implementation checks for errors and propagates to parent job, then calls removeSubjob. Override if you don't want subjobs errors to be propagated. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the subjob </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKIO_1_1Job.html#ac7b363bb6cc3c6fabcc9bdbf3a7751f9" title="Emitted when the job is finished, in any case (completed, canceled, failed...).">result()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classKIO_1_1Job.html#a33092700ceed5fae5d3bffcb9116ffa1">KIO::Job</a>.</p>

<p>Definition at line <a class="el" href="job_8cpp_source.html#l03820">3820</a> of file <a class="el" href="job_8cpp_source.html">job.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a939da7c61edffae319655ebb74994620"></a><!-- doxytag: member="KIO::CopyJob::slotStart" ref="a939da7c61edffae319655ebb74994620" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CopyJob::slotStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><p>We call the functions directly instead of using signals. Calling a function via a signal takes approx. 65 times the time compared to calling it directly (at least on my machine). aleXXX</p>
</p>

<p>Definition at line <a class="el" href="job_8cpp_source.html#l02257">2257</a> of file <a class="el" href="job_8cpp_source.html">job.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acb6e0d4d311c9b6e079d9b6472c73bb3"></a><!-- doxytag: member="KIO::CopyJob::slotTotalSize" ref="acb6e0d4d311c9b6e079d9b6472c73bb3" args="(KIO::Job *, KIO::filesize_t size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CopyJob::slotTotalSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceKIO.html#a90b418366ba9052c97d4dca845026f43">KIO::filesize_t</a>&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Forward signal from subjob. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>the total size </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="job_8cpp_source.html#l03590">3590</a> of file <a class="el" href="job_8cpp_source.html">job.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5b8b100ed3e88475b78fe7da24dda595"></a><!-- doxytag: member="KIO::CopyJob::srcURLs" ref="a5b8b100ed3e88475b78fe7da24dda595" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KURL::List KIO::CopyJob::srcURLs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the list of source URLs. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the list of source URLs. </dd></dl>

<p>Definition at line <a class="el" href="jobclasses_8h_source.html#l01542">1542</a> of file <a class="el" href="jobclasses_8h_source.html">jobclasses.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7d4f003812480d10766fbcf34a4ae84c"></a><!-- doxytag: member="KIO::CopyJob::totalDirs" ref="a7d4f003812480d10766fbcf34a4ae84c" args="(KIO::Job *job, unsigned long dirs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::totalDirs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>dirs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the toal number of direcotries is known. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">dirs</td><td>the total number of directories </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6e5780501edf7f4a950b1207b250d969"></a><!-- doxytag: member="KIO::CopyJob::totalFiles" ref="a6e5780501edf7f4a950b1207b250d969" args="(KIO::Job *job, unsigned long files)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KIO::CopyJob::totalFiles </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKIO_1_1Job.html">KIO::Job</a> *&#160;</td>
          <td class="paramname"><em>job</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>files</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted when the total number of files is known. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">job</td><td>the job that emitted this signal </td></tr>
    <tr><td class="paramname">files</td><td>the total number of files </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="jobclasses_8h_source.html">jobclasses.h</a></li>
<li><a class="el" href="job_8cpp_source.html">job.cpp</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kio/kio</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKACL.html">kacl</option>,  <option value="classKAr.html">kar</option>,  <option value="classKArchive.html">karchive</option>,  <option value="classKArchiveDirectory.html">karchivedirectory</option>,  <option value="classKArchiveEntry.html">karchiveentry</option>,  <option value="classKArchiveFile.html">karchivefile</option>,  <option value="classKAutoMount.html">kautomount</option>,  <option value="classKAutoUnmount.html">kautounmount</option>,  <option value="classKDataTool.html">kdatatool</option>,  <option value="classKDataToolAction.html">kdatatoolaction</option>,  <option value="classKDataToolInfo.html">kdatatoolinfo</option>,  <option value="classKDCOPServiceStarter.html">kdcopservicestarter</option>,  <option value="classKDEDesktopMimeType.html">kdedesktopmimetype</option>,  <option value="classKDirLister.html">kdirlister</option>,  <option value="classKDirNotify.html">kdirnotify</option>,  <option value="classKDirWatch.html">kdirwatch</option>,  <option value="classKEMailSettings.html">kemailsettings</option>,  <option value="classKExecMimeType.html">kexecmimetype</option>,  <option value="classKFileFilter.html">kfilefilter</option>,  <option value="classKFileItem.html">kfileitem</option>,  <option value="classKFileMetaInfo.html">kfilemetainfo</option>,  <option value="classKFileMetaInfoGroup.html">kfilemetainfogroup</option>,  <option value="classKFileMetaInfoItem.html">kfilemetainfoitem</option>,  <option value="classKFileMimeTypeInfo.html">kfilemimetypeinfo</option>,  <option value="classKFileMimeTypeInfo_1_1GroupInfo.html">kfilemimetypeinfo::groupinfo</option>,  <option value="classKFileMimeTypeInfo_1_1ItemInfo.html">kfilemimetypeinfo::iteminfo</option>,  <option value="classKFilePlugin.html">kfileplugin</option>,  <option value="classKFileShare.html">kfileshare</option>,  <option value="classKFilterBase.html">kfilterbase</option>,  <option value="classKFilterDev.html">kfilterdev</option>,  <option value="classKFolderType.html">kfoldertype</option>,  <option value="classKImageIO.html">kimageio</option>,  <option value="classKIO_1_1AuthInfo.html">kio::authinfo</option>,  <option value="classKIO_1_1ChmodJob.html">kio::chmodjob</option>,  <option value="classKIO_1_1Connection.html">kio::connection</option>,  <option value="classKIO_1_1CopyJob.html">kio::copyjob</option>,  <option value="classKIO_1_1DataProtocol.html">kio::dataprotocol</option>,  <option value="classKIO_1_1DataSlave.html">kio::dataslave</option>,  <option value="classKIO_1_1DavJob.html">kio::davjob</option>,  <option value="classKIO_1_1DeleteJob.html">kio::deletejob</option>,  <option value="classKIO_1_1FileCopyJob.html">kio::filecopyjob</option>,  <option value="classKIO_1_1ForwardingSlaveBase.html">kio::forwardingslavebase</option>,  <option value="classKIO_1_1Job.html">kio::job</option>,  <option value="classKIO_1_1ListJob.html">kio::listjob</option>,  <option value="classKIO_1_1MetaData.html">kio::metadata</option>,  <option value="classKIO_1_1MetaInfoJob.html">kio::metainfojob</option>,  <option value="classKIO_1_1MimetypeJob.html">kio::mimetypejob</option>,  <option value="classKIO_1_1MkdirJob.html">kio::mkdirjob</option>,  <option value="classKIO_1_1MultiGetJob.html">kio::multigetjob</option>,  <option value="classKIO_1_1NetAccess.html">kio::netaccess</option>,  <option value="classKIO_1_1NetRC.html">kio::netrc</option>,  <option value="classKIO_1_1PasswordDialog.html">kio::passworddialog</option>,  <option value="classKIO_1_1PreviewJob.html">kio::previewjob</option>,  <option value="classKIO_1_1ProgressBase.html">kio::progressbase</option>,  <option value="classKIO_1_1RenameDlg.html">kio::renamedlg</option>,  <option value="classKIO_1_1Scheduler.html">kio::scheduler</option>,  <option value="classKIO_1_1SimpleJob.html">kio::simplejob</option>,  <option value="classKIO_1_1Slave.html">kio::slave</option>,  <option value="classKIO_1_1SlaveBase.html">kio::slavebase</option>,  <option value="classKIO_1_1SlaveConfig.html">kio::slaveconfig</option>,  <option value="classKIO_1_1SlaveInterface.html">kio::slaveinterface</option>,  <option value="classKIO_1_1StatJob.html">kio::statjob</option>,  <option value="classKIO_1_1StatusbarProgress.html">kio::statusbarprogress</option>,  <option value="classKIO_1_1StoredTransferJob.html">kio::storedtransferjob</option>,  <option value="classKIO_1_1TCPSlaveBase.html">kio::tcpslavebase</option>,  <option value="classKIO_1_1TransferJob.html">kio::transferjob</option>,  <option value="classKLimitedIODevice.html">klimitediodevice</option>,  <option value="classKMimeMagic.html">kmimemagic</option>,  <option value="classKMimeMagicResult.html">kmimemagicresult</option>,  <option value="classKMimeType.html">kmimetype</option>,  <option value="classKMimeTypeChooser.html">kmimetypechooser</option>,  <option value="classKMimeTypeChooserDialog.html">kmimetypechooserdialog</option>,  <option value="classKMimeTypeResolver.html">kmimetyperesolver</option>,  <option value="classKNFSShare.html">knfsshare</option>,  <option value="classKOCRDialog.html">kocrdialog</option>,  <option value="classKOCRDialogFactory.html">kocrdialogfactory</option>,  <option value="classKOpenWithHandler.html">kopenwithhandler</option>,  <option value="classKProtocolInfo.html">kprotocolinfo</option>,  <option value="classKProtocolManager.html">kprotocolmanager</option>,  <option value="classKRemoteEncoding.html">kremoteencoding</option>,  <option value="classKRun.html">krun</option>,  <option value="classKSambaShare.html">ksambashare</option>,  <option value="classKScanDialog.html">kscandialog</option>,  <option value="classKScanDialogFactory.html">kscandialogfactory</option>,  <option value="classKService.html">kservice</option>,  <option value="classKServiceGroup.html">kservicegroup</option>,  <option value="classKServiceOffer.html">kserviceoffer</option>,  <option value="classKServiceType.html">kservicetype</option>,  <option value="classKServiceTypeProfile.html">kservicetypeprofile</option>,  <option value="classKShellCompletion.html">kshellcompletion</option>,  <option value="classKShred.html">kshred</option>,  <option value="classKSimpleFileFilter.html">ksimplefilefilter</option>,  <option value="classKTar.html">ktar</option>,  <option value="classKTrader.html">ktrader</option>,  <option value="classKURIFilter.html">kurifilter</option>,  <option value="classKURIFilterData.html">kurifilterdata</option>,  <option value="classKURIFilterPlugin.html">kurifilterplugin</option>,  <option value="classKURIFilterPluginList.html">kurifilterpluginlist</option>,  <option value="classKURLCompletion.html">kurlcompletion</option>,  <option value="classKURLPixmapProvider.html">kurlpixmapprovider</option>,  <option value="classKZip.html">kzip</option>,  <option value="classObserver.html">observer</option>,  <option value="classRenameDlgPlugin.html">renamedlgplugin</option>,  <option value="classThumbCreator.html">thumbcreator</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../../arts/html/index.html">arts</a></li><li><a href="../../../dcop/html/index.html">dcop</a></li><li><a href="../../../dnssd/html/index.html">dnssd</a></li><li><a href="../../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kate/html/index.html">kate</a></li><li><a href="../../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../../kdecore/html/index.html">kdecore</a></li><li><a href="../../../kded/html/index.html">kded</a></li><li><a href="../../../kdefx/html/index.html">kdefx</a></li><li><a href="../../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../../kdesu/html/index.html">kdesu</a></li><li><a href="../../../kdeui/html/index.html">kdeui</a></li><li><a href="../../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../../khtml/html/index.html">khtml</a></li><li><a href="../../../kimgio/html/index.html">kimgio</a></li><li><a href="../../../kinit/html/index.html">kinit</a></li><li><a href="../../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../../kioslave/http/html/index.html">http</a></li><li><a href="../../../kjs/html/index.html">kjs</a></li><li><a href="../../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../../kparts/html/index.html">kparts</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../kspell2/html/index.html">kspell2</a></li><li><a href="../../../kunittest/html/index.html">kunittest</a></li><li><a href="../../../kutils/html/index.html">kutils</a></li><li><a href="../../../kwallet/html/index.html">kwallet</a></li><li><a href="../../../libkmid/html/index.html">libkmid</a></li><li><a href="../../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>