KIO
filejob.h
21 * It allows block-wise reading and writing, and allows seeking and truncation. Results are returned through signals.
void read(KIO::filesize_t size)
This function attempts to read up to size bytes from the URL passed to KIO::open() and returns the by...
Definition filejob.cpp:66
void written(KIO::Job *job, KIO::filesize_t written)
written bytes were written to the file.
void write(const QByteArray &data)
This function attempts to write all the bytes in data to the URL passed to KIO::open() and returns th...
Definition filejob.cpp:77
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.
KIOCORE_NO_EXPORT SimpleJob(SimpleJobPrivate &dd)
Creates a new simple job.
Definition simplejob.cpp:20
KIOCORE_EXPORT FileJob * open(const QUrl &url, QIODevice::OpenMode mode)
Open ( random access I/O )
Definition filejob.cpp:239
typedef OpenMode
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.