• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KIO::MultiGetJob

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:

Inheritance graph
[legend]

List of all members.


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)
virtual ~MultiGetJob ()

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

 MultiGetJob (MultiGetJobPrivate &dd)

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 715 of file jobclasses.h.


Constructor & Destructor Documentation

MultiGetJob::~MultiGetJob (  )  [virtual]

Definition at line 2538 of file job.cpp.

MultiGetJob::MultiGetJob ( MultiGetJobPrivate &  dd  )  [protected]

Definition at line 2533 of file job.cpp.


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 
)

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 2542 of file job.cpp.

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(KJob *) gets emitted.

Parameters:
id the id of the request

void MultiGetJob::slotData ( const QByteArray &  data  )  [protected, virtual, slot]

Reimplemented from KIO::TransferJob.

Definition at line 2686 of file job.cpp.

void MultiGetJob::slotFinished (  )  [protected, virtual, slot]

Called when the slave marks the job as finished.

Reimplemented from KIO::TransferJob.

Definition at line 2654 of file job.cpp.

void MultiGetJob::slotMimetype ( const QString &  mimetype  )  [protected, virtual, slot]

Reimplemented from KIO::TransferJob.

Definition at line 2693 of file job.cpp.

void MultiGetJob::slotRedirection ( const KUrl &  url  )  [protected, virtual, slot]

Reimplemented from KIO::TransferJob.

Definition at line 2638 of file job.cpp.


The documentation for this class was generated from the following files:
  • jobclasses.h
  • job.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal