#include <jobclasses.h>
|
void | data (long id, const TQByteArray &data) |
|
void | mimetype (long id, const TQString &type) |
|
void | result (long id) |
|
void | data (TDEIO::Job *job, const TQByteArray &data) |
|
void | dataReq (TDEIO::Job *job, TQByteArray &data) |
|
void | redirection (TDEIO::Job *job, const KURL &url) |
|
void | permanentRedirection (TDEIO::Job *job, const KURL &fromUrl, const KURL &toUrl) |
|
void | mimetype (TDEIO::Job *job, const TQString &type) |
|
void | canResume (TDEIO::Job *job, TDEIO::filesize_t offset) |
|
void | result (TDEIO::Job *job) |
|
void | canceled (TDEIO::Job *job) |
|
void | infoMessage (TDEIO::Job *job, const TQString &msg) |
|
void | warning (TDEIO::Job *job, const TQString &msg) |
|
void | connected (TDEIO::Job *job) |
|
void | percent (TDEIO::Job *job, unsigned long percent) |
|
void | totalSize (TDEIO::Job *job, TDEIO::filesize_t size) |
|
void | processedSize (TDEIO::Job *job, TDEIO::filesize_t size) |
|
void | speed (TDEIO::Job *job, unsigned long speed) |
|
|
| MultiGetJob (const KURL &url, bool showProgressInfo) |
|
virtual void | start (Slave *slave) |
|
void | get (long id, const KURL &url, const MetaData &metaData) |
|
| TransferJob (const KURL &url, int command, const TQByteArray &packedArgs, const TQByteArray &_staticData, bool showProgressInfo) |
|
virtual void | slotResult (TDEIO::Job *job) |
|
void | suspend () |
|
void | resume () |
|
bool | isSuspended () const |
|
bool | isErrorPage () const |
|
void | setAsyncDataEnabled (bool enabled) |
|
void | sendAsyncData (const TQByteArray &data) |
|
void | setReportDataSent (bool enabled) |
|
bool | reportDataSent () |
|
| SimpleJob (const KURL &url, int command, const TQByteArray &packedArgs, bool showProgressInfo) |
|
const KURL & | url () const |
|
virtual void | kill (bool quietly=true) |
|
virtual void | putOnHold () |
|
void | slaveDone () |
|
Slave * | slave () const |
|
int | command () const |
|
int | error () const |
|
int | progressId () const |
|
const TQString & | errorText () const |
|
TQString | errorString () const |
|
TQStringList | detailedErrorStrings (const KURL *reqUrl=0L, int method=-1) const |
|
void | showErrorDialog (TQWidget *parent=0L) |
|
void | setAutoErrorHandlingEnabled (bool enable, TQWidget *parentWidget=0) |
|
bool | isAutoErrorHandlingEnabled () const |
|
void | setAutoWarningHandlingEnabled (bool enable) |
|
bool | isAutoWarningHandlingEnabled () const |
|
void | setInteractive (bool enable) |
|
bool | isInteractive () const |
|
void | setWindow (TQWidget *window) |
|
TQWidget * | window () const |
|
void | updateUserTimestamp (unsigned long time) |
|
void | setParentJob (Job *parentJob) |
|
Job * | parentJob () const |
|
void | setMetaData (const TDEIO::MetaData &metaData) |
|
void | addMetaData (const TQString &key, const TQString &value) |
|
void | addMetaData (const TQMap< TQString, TQString > &values) |
|
void | mergeMetaData (const TQMap< TQString, TQString > &values) |
|
MetaData | outgoingMetaData () const |
|
MetaData | metaData () const |
|
TQString | queryMetaData (const TQString &key) |
|
TDEIO::filesize_t | getProcessedSize () |
|
|
void | slotTotalSize (TDEIO::filesize_t data_size) |
|
virtual void | slotError (int, const TQString &) |
|
static void | removeOnHold () |
|
enum | { EF_TransferJobAsync = (1 << 0)
, EF_TransferJobNeedData = (1 << 1)
, EF_TransferJobDataSent = (1 << 2)
, EF_ListJobUnrestricted = (1 << 3)
} |
|
bool | m_suspended |
|
bool | m_errorPage |
|
TQByteArray | staticData |
|
KURL | m_redirectionURL |
|
KURL::List | m_redirectionList |
|
TQString | m_mimetype |
|
TransferJob * | m_subJob |
|
Slave * | m_slave |
|
TQByteArray | m_packedArgs |
|
KURL | m_url |
|
KURL | m_subUrl |
|
int | m_command |
|
TDEIO::filesize_t | m_totalSize |
|
TQPtrList< Job > | subjobs |
|
int | m_error |
|
TQString | m_errorText |
|
unsigned long | m_percent |
|
int | m_progressId |
|
TQTimer * | m_speedTimer |
|
TQGuardedPtr< TQWidget > | m_window |
|
MetaData | m_outgoingMetaData |
|
MetaData | m_incomingMetaData |
|
The MultiGetJob is a TransferJob that allows you to get several files from a single server.
Don't create directly, but use TDEIO::multi_get() instead.
- See also
- TDEIO::multi_get()
Definition at line 1119 of file jobclasses.h.
◆ MultiGetJob()
MultiGetJob::MultiGetJob |
( |
const KURL & |
url, |
|
|
bool |
showProgressInfo |
|
) |
| |
Do not create a MultiGetJob directly, use TDEIO::multi_get() instead.
- Parameters
-
url | the first url to get |
showProgressInfo | true to show progress information to the user |
Definition at line 4464 of file job.cpp.
◆ data
void TDEIO::MultiGetJob::data |
( |
long |
id, |
|
|
const TQByteArray & |
data |
|
) |
| |
|
signal |
Data from the slave has arrived.
- Parameters
-
id | the id of the request |
data | data received from the slave. End of data (EOD) has been reached if data.size() == 0 |
◆ get()
void MultiGetJob::get |
( |
long |
id, |
|
|
const KURL & |
url, |
|
|
const MetaData & |
metaData |
|
) |
| |
Get an additional file.
- Parameters
-
id | the id of the file |
url | the url of the file to get |
metaData | the meta data for this request |
Definition at line 4473 of file job.cpp.
◆ mimetype
void TDEIO::MultiGetJob::mimetype |
( |
long |
id, |
|
|
const TQString & |
type |
|
) |
| |
|
signal |
Mimetype determined
- Parameters
-
id | the id of the request |
type | the mime type |
◆ result
void TDEIO::MultiGetJob::result |
( |
long |
id | ) |
|
|
signal |
File transfer completed.
When all files have been processed, result(TDEIO::Job *) gets
emitted.
- Parameters
-
The documentation for this class was generated from the following files: