KIO
filejob.h
21 * It allows block-wise reading and writing, and allows seeking and truncation. Results are returned through signals.
The file-job is an asynchronous version of normal file handling.
void written(KIO::Job *job, KIO::filesize_t written)
written bytes were written to the file.
void truncated(KIO::Job *job, KIO::filesize_t length)
The file has been truncated to this point.
void fileClosed(KIO::Job *job)
Signals that the file is closed and will accept no more commands.
void redirection(KIO::Job *job, const QUrl &url)
Signals the file is a redirection.
void mimeTypeFound(KIO::Job *job, const QString &mimeType)
MIME type determined.
void open(KIO::Job *job)
File is open, metadata has been determined and the file KIO worker is ready to receive commands.
void position(KIO::Job *job, KIO::filesize_t offset)
The file has reached this position.
The base class for all jobs.
A simple job (one url and one command).
KIOCORE_EXPORT FileJob * open(const QUrl &url, QIODevice::OpenMode mode)
Open ( random access I/O )
Definition filejob.cpp:239
OpenMode
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.