.TH "KIO::MultiGetJob" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KIO::MultiGetJob \- The \fBMultiGetJob\fP is a \fBTransferJob\fP that allows you to get several files from a single server.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <jobclasses.h>\fP
.PP
Inherits \fBKIO::TransferJob\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBdata\fP (long id, const \fBQByteArray\fP &data)"
.br
.ti -1c
.RI "void \fBmimetype\fP (long id, const \fBQString\fP &type)"
.br
.ti -1c
.RI "void \fBresult\fP (long id)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBMultiGetJob\fP (const \fBKURL\fP &url, bool showProgressInfo)"
.br
.ti -1c
.RI "virtual void \fBstart\fP (Slave *slave)"
.br
.ti -1c
.RI "void \fBget\fP (long id, const \fBKURL\fP &url, const \fBMetaData\fP &metaData)"
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "virtual void \fBslotRedirection\fP (const \fBKURL\fP &url)"
.br
.ti -1c
.RI "virtual void \fBslotFinished\fP ()"
.br
.ti -1c
.RI "virtual void \fBslotData\fP (const \fBQByteArray\fP &data)"
.br
.ti -1c
.RI "virtual void \fBslotMimetype\fP (const \fBQString\fP &mimetype)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
The \fBMultiGetJob\fP is a \fBTransferJob\fP that allows you to get several files from a single server. 

Don't create directly, but use \fBKIO::multi_get()\fP instead. 
.PP
\fBSee also:\fP
.RS 4
\fBKIO::multi_get()\fP 
.RE
.PP

.PP
Definition at line 1079 of file jobclasses.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "MultiGetJob::MultiGetJob (const \fBKURL\fP & url, bool showProgressInfo)"
.PP
Do not create a \fBMultiGetJob\fP directly, use \fBKIO::multi_get()\fP instead. 
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP the first url to get 
.br
\fIshowProgressInfo\fP true to show progress information to the user
.RE
.PP

.PP
Definition at line 4219 of file job.cpp.
.PP
References QPtrList::setAutoDelete().
.PP
Referenced by KIO::multi_get().
.SH "Member Function Documentation"
.PP 
.SS "void MultiGetJob::get (long id, const \fBKURL\fP & url, const \fBMetaData\fP & metaData)"
.PP
Get an additional file. 
.PP
\fBParameters:\fP
.RS 4
\fIid\fP the id of the file 
.br
\fIurl\fP the url of the file to get 
.br
\fImetaData\fP the meta data for this request
.RE
.PP

.PP
Definition at line 4228 of file job.cpp.
.PP
References QPtrList::append().
.PP
Referenced by KIO::multi_get().
.SS "void KIO::MultiGetJob::data (long id, const \fBQByteArray\fP & data)\fC [signal]\fP"
.PP
Data from the slave has arrived. 
.PP
\fBParameters:\fP
.RS 4
\fIid\fP the id of the request 
.br
\fIdata\fP data received from the slave. End of data (EOD) has been reached if data.size() == 0 
.RE
.PP

.SS "void KIO::MultiGetJob::mimetype (long id, const \fBQString\fP & type)\fC [signal]\fP"
.PP
Mimetype determined. 
.PP
\fBParameters:\fP
.RS 4
\fIid\fP the id of the request 
.br
\fItype\fP the mime type 
.RE
.PP

.SS "void KIO::MultiGetJob::result (long id)\fC [signal]\fP"
.PP
File transfer completed. 
.PP
When all files have been processed, \fBresult(KIO::Job *)\fP gets emitted. 
.PP
\fBParameters:\fP
.RS 4
\fIid\fP the id of the request 
.RE
.PP

.PP
Referenced by slotFinished().
.SS "void MultiGetJob::slotFinished ()\fC [protected, virtual, slot]\fP"
.PP
Called when the slave marks the job as finished. 
.PP
Reimplemented from \fBKIO::TransferJob\fP.
.PP
Definition at line 4331 of file job.cpp.
.PP
References QPtrList::at(), QMap::clear(), QPtrList::count(), KIO::Scheduler::doJob(), KURL::isEmpty(), QPtrList::removeRef(), result(), KIO::TransferJob::slotFinished(), and KURL::url().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
