KIO
KIO::FileCopyJob Class Reference
The FileCopyJob copies data from one place to another. More...
#include <jobclasses.h>
Signals | |
| void | mimetype (KIO::Job *job, const QString &type) |
Public Member Functions | |
| KUrl | destUrl () const |
| bool | doResume () |
| bool | doSuspend () |
| void | setModificationTime (const QDateTime &mtime) |
| void | setSourceSize (KIO::filesize_t size) |
| KUrl | srcUrl () const |
| ~FileCopyJob () | |
Protected Slots | |
| virtual void | slotResult (KJob *job) |
Protected Member Functions | |
| FileCopyJob (FileCopyJobPrivate &dd) | |
Detailed Description
The FileCopyJob copies data from one place to another.
- See also:
- KIO::file_copy()
- KIO::file_move()
Definition at line 805 of file jobclasses.h.
Constructor & Destructor Documentation
| FileCopyJob::FileCopyJob | ( | FileCopyJobPrivate & | dd | ) | [protected] |
Member Function Documentation
| KUrl FileCopyJob::destUrl | ( | ) | const |
| bool FileCopyJob::doResume | ( | ) | [virtual] |
| bool FileCopyJob::doSuspend | ( | ) | [virtual] |
Mimetype determined during a file copy.
This is never emitted during a move, and might not be emitted during a file copy, depending on the slave. But when a get and a put are being used (which is the common case), this signal forwards the mimetype information from the get job.
- Parameters:
-
job the job that emitted this signal type the mime type
| void FileCopyJob::setModificationTime | ( | const QDateTime & | mtime | ) |
Sets the modification time of the file.
Note that this is ignored if a direct copy (SlaveBase::copy) can be done, in which case the mtime of the source is applied to the destination (if the protocol supports the concept).
| void FileCopyJob::setSourceSize | ( | KIO::filesize_t | size | ) |
| void FileCopyJob::slotResult | ( | KJob * | job | ) | [protected, virtual, slot] |
Called whenever a subjob finishes.
- Parameters:
-
job the job that emitted this signal
Reimplemented from KCompositeJob.
| KUrl FileCopyJob::srcUrl | ( | ) | const |
The documentation for this class was generated from the following files:
KDE 4.3 API Reference