kio
KIO::MultiGetJob Class Reference
The MultiGetJob is a TransferJob that allows you to get several files from a single server. More...
#include <jobclasses.h>
Inheritance diagram for KIO::MultiGetJob:
Signals | |
void | data (long id, const QByteArray &data) |
void | mimetype (long id, const QString &type) |
void | result (long id) |
Public Member Functions | |
void | get (long id, const KURL &url, const MetaData &metaData) |
MultiGetJob (const KURL &url, bool showProgressInfo) | |
virtual void | start (Slave *slave) |
Protected Slots | |
virtual void | slotData (const QByteArray &data) |
virtual void | slotFinished () |
virtual void | slotMimetype (const QString &mimetype) |
virtual void | slotRedirection (const KURL &url) |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
The MultiGetJob is a TransferJob that allows you to get several files from a single server.Don't create directly, but use KIO::multi_get() instead.
- See also:
- KIO::multi_get()
Definition at line 1120 of file jobclasses.h.
Constructor & Destructor Documentation
MultiGetJob::MultiGetJob | ( | const KURL & | url, | |
bool | showProgressInfo | |||
) |
Do not create a MultiGetJob directly, use KIO::multi_get() instead.
- Parameters:
-
url the first url to get showProgressInfo true to show progress information to the user
Member Function Documentation
void KIO::MultiGetJob::data | ( | long | id, | |
const QByteArray & | 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
void MultiGetJob::get | ( | long | id, | |
const KURL & | url, | |||
const MetaData & | metaData | |||
) |
void KIO::MultiGetJob::mimetype | ( | long | id, | |
const QString & | type | |||
) | [signal] |
Mimetype determined.
- Parameters:
-
id the id of the request type the mime type
void KIO::MultiGetJob::result | ( | long | id | ) | [signal] |
File transfer completed.
When all files have been processed, result(KIO::Job *) gets emitted.
- Parameters:
-
id the id of the request
void MultiGetJob::slotData | ( | const QByteArray & | data | ) | [protected, virtual, slot] |
void MultiGetJob::slotFinished | ( | ) | [protected, virtual, slot] |
void MultiGetJob::slotMimetype | ( | const QString & | mimetype | ) | [protected, virtual, slot] |
void MultiGetJob::slotRedirection | ( | const KURL & | url | ) | [protected, virtual, slot] |
void MultiGetJob::start | ( | Slave * | slave | ) | [virtual] |
For internal use only.
Called by the scheduler when a slave
gets to work on this job.
- Parameters:
-
slave the slave that starts working on this job
Reimplemented from KIO::TransferJob.
void MultiGetJob::virtual_hook | ( | int | id, | |
void * | data | |||
) | [protected, virtual] |
The documentation for this class was generated from the following files: