KIO
jobclasses.h
Go to the documentation of this file.
964 void entries( KIO::Job *job, const KIO::UDSEntryList& list); // TODO KDE5: use KIO::ListJob* argument to avoid casting
KCompositeJob(QObject *parent=0)
void mimetype(KIO::Job *job, const QString &type)
Mimetype determined during a file copy.
void setModificationTime(const QDateTime &mtime)
Sets the modification time of the file.
Definition job.cpp:2076
void setSourceSize(KIO::filesize_t size)
If you know the size of the source file, call this method to inform this job.
Definition job.cpp:2068
Definition job_p.h:40
void connected(KIO::Job *job)
Emitted when the slave successfully connected to the host.
void canceled(KJob *job)
virtual bool addSubjob(KJob *job)
Add a job that has to be finished before a result is emitted.
Definition job.cpp:95
A ListJob is allows you to get the get the content of a directory.
Definition jobclasses.h:936
void entries(KIO::Job *job, const KIO::UDSEntryList &list)
This signal emits the entry found by the job while listing.
void subError(KIO::ListJob *job, KIO::ListJob *subJob)
This signal is emitted when a sub-directory could not be listed.
void setUnrestricted(bool unrestricted)
Do not apply any KIOSK restrictions to this job.
Definition job.cpp:2745
virtual void slotMetaData(const KIO::MetaData &_metaData)
Definition job.cpp:2728
void permanentRedirection(KIO::Job *job, const KUrl &fromUrl, const KUrl &toUrl)
Signals a permanent redirection.
virtual void slotRedirection(const KUrl &url)
Definition job.cpp:2932
virtual void slotMimetype(const QString &mimetype)
Definition job.cpp:2988
void get(long id, const KUrl &url, const MetaData &metaData)
Get an additional file.
Definition job.cpp:2836
Definition job_p.h:82
void setRedirectionHandlingEnabled(bool handle)
Set handle to false to prevent the internal handling of redirections.
Definition job.cpp:369
void storeSSLSessionFromJob(const KUrl &m_redirectionURL)
Definition job.cpp:598
bool isRedirectionHandlingEnabled() const
Returns true when redirections are handled internally, the default.
Definition job.cpp:364
virtual void slotMetaData(const KIO::MetaData &_metaData)
MetaData from the slave is received.
Definition job.cpp:578
QByteArray arguments() const
Returns the QByteArray data that will be sent (or has been sent) to the ioslave.
Definition job.cpp:3036
void setArguments(const QByteArray &data)
Sets the QByteArray that is passed to SlaveBase::special() on the ioslave.
Definition job.cpp:3030
SpecialJob(const KUrl &url, const QByteArray &data=QByteArray())
Creates a KIO::SpecialJob.
Definition job.cpp:3021
A KIO job that retrieves information about a file or directory.
Definition jobclasses.h:440
void permanentRedirection(KIO::Job *job, const KUrl &fromUrl, const KUrl &toUrl)
Signals a permanent redirection.
virtual void slotMetaData(const KIO::MetaData &_metaData)
Definition job.cpp:917
StoredTransferJob(StoredTransferJobPrivate &dd)
Definition job.cpp:1708
Definition job_p.h:260
void sendAsyncData(const QByteArray &data)
Provide data to the job when async data is enabled.
Definition job.cpp:1122
virtual void slotMimetype(const QString &mimetype)
Definition job.cpp:1200
virtual void slotMetaData(const KIO::MetaData &_metaData)
Definition job.cpp:1303
QString mimetype() const
Call this in the slot connected to result, and only after making sure no error happened.
Definition job.cpp:1156
virtual void slotRedirection(const KUrl &url)
Definition job.cpp:1009
void data(KIO::Job *job, const QByteArray &data)
Data from the slave has arrived.
bool reportDataSent() const
Returns whether the job reports the amount of data that has been sent (true), or whether the job repo...
Definition job.cpp:1150
void setModificationTime(const QDateTime &mtime)
Sets the modification time of the file to be created (by KIO::put) Note that some kioslaves might ign...
Definition job.cpp:1364
void canResume(KIO::Job *job, KIO::filesize_t offset)
void setTotalSize(KIO::filesize_t bytes)
Set the total size of data that we are going to send in a put job.
Definition job.cpp:1003
void permanentRedirection(KIO::Job *job, const KUrl &fromUrl, const KUrl &toUrl)
Signals a permanent redirection.
void setReportDataSent(bool enabled)
When enabled, the job reports the amount of data that has been sent, instead of the amount of data th...
Definition job.cpp:1139
KJob(QObject *parent=0)
void speed(KJob *job, unsigned long speed)
StatJob * mostLocalUrl(const KUrl &url, JobFlags flags=DefaultFlags)
Tries to map a local URL for the given URL, using a KIO job.
Definition job.cpp:930
QList< UDSEntry > UDSEntryList
A directory listing is a list of UDSEntry instances.
Definition udsentry.h:294
@ Resume
When set, automatically append to the destination file if it exists already.
Definition jobclasses.h:60
@ Overwrite
When set, automatically overwrite the destination if it exists already.
Definition jobclasses.h:67
static QString errorString(OSStatus s)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.