KIO
#include <jobclasses.h>
|
void | mimetype (KIO::Job *job, const QString &type) |
|
void | canceled (KJob *job) |
|
void | connected (KIO::Job *job) |
|
void | description (KJob *job, const QString &title, const QPair< QString, QString > &field1=qMakePair(QString(), QString()), const QPair< QString, QString > &field2=qMakePair(QString(), QString())) |
|
void | finished (KJob *job) |
|
void | infoMessage (KJob *job, const QString &plain, const QString &rich=QString()) |
|
void | percent (KJob *job, unsigned long percent) |
|
void | processedAmount (KJob *job, KJob::Unit unit, qulonglong amount) |
|
void | processedSize (KJob *job, qulonglong size) |
|
void | result (KJob *job) |
|
void | resumed (KJob *job) |
|
void | speed (KJob *job, unsigned long speed) |
|
void | suspended (KJob *job) |
|
void | totalAmount (KJob *job, KJob::Unit unit, qulonglong amount) |
|
void | totalSize (KJob *job, qulonglong size) |
|
void | warning (KJob *job, const QString &plain, const QString &rich=QString()) |
|
The FileCopyJob copies data from one place to another.
- See also
- KIO::file_copy()
-
KIO::file_move()
Definition at line 856 of file jobclasses.h.
FileCopyJob::~FileCopyJob |
( |
| ) |
|
FileCopyJob::FileCopyJob |
( |
FileCopyJobPrivate & |
dd | ) |
|
|
protected |
KUrl FileCopyJob::destUrl |
( |
| ) |
const |
Returns the destination URL.
- Returns
- the destination URL
Definition at line 2103 of file job.cpp.
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).
Definition at line 2092 of file job.cpp.
If you know the size of the source file, call this method to inform this job.
It will be displayed in the "resume" dialog.
- Parameters
-
size | the size of the source file |
Definition at line 2084 of file job.cpp.
void FileCopyJob::slotResult |
( |
KJob * |
job | ) |
|
|
protectedvirtualslot |
Called whenever a subjob finishes.
- Parameters
-
job | the job that emitted this signal |
Definition at line 2381 of file job.cpp.
KUrl FileCopyJob::srcUrl |
( |
| ) |
const |
Returns the source URL.
- Returns
- the source URL
Definition at line 2098 of file job.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.