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()
FileCopyJob::FileCopyJob |
( |
FileCopyJobPrivate & |
dd | ) |
|
|
protected |
◆ destUrl()
KUrl FileCopyJob::destUrl |
( |
| ) |
const |
Returns the destination URL.
- Returns
- the destination URL
Definition at line 2087 of file job.cpp.
◆ doResume()
bool FileCopyJob::doResume |
( |
| ) |
|
|
virtual |
◆ doSuspend()
bool FileCopyJob::doSuspend |
( |
| ) |
|
|
virtual |
◆ mimetype
void KIO::FileCopyJob::mimetype |
( |
KIO::Job * |
job, |
|
|
const QString & |
type |
|
) |
| |
|
signal |
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 |
◆ setModificationTime()
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 2076 of file job.cpp.
◆ setSourceSize()
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 2068 of file job.cpp.
◆ slotResult
void FileCopyJob::slotResult |
( |
KJob * |
job | ) |
|
|
protectedvirtualslot |
Called whenever a subjob finishes.
- Parameters
-
job | the job that emitted this signal |
Definition at line 2365 of file job.cpp.
◆ srcUrl()
KUrl FileCopyJob::srcUrl |
( |
| ) |
const |
Returns the source URL.
- Returns
- the source URL
Definition at line 2082 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-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.