• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kio
 

kio/kio

  • KIO
  • MultiGetJob
Signals | Public Member Functions | Protected Slots | Protected Member Functions
KIO::MultiGetJob Class Reference

#include <jobclasses.h>

Inheritance diagram for KIO::MultiGetJob:
KIO::TransferJob KIO::SimpleJob KIO::Job

List of all members.

Signals

void data (long id, const TQByteArray &data)
void mimetype (long id, const TQString &type)
void result (long id)

Public Member Functions

 MultiGetJob (const KURL &url, bool showProgressInfo)
virtual void start (Slave *slave)
void get (long id, const KURL &url, const MetaData &metaData)

Protected Slots

virtual void slotRedirection (const KURL &url)
virtual void slotFinished ()
virtual void slotData (const TQByteArray &data)
virtual void slotMimetype (const TQString &mimetype)

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:
urlthe first url to get
showProgressInfotrue to show progress information to the user

Definition at line 4400 of file job.cpp.


Member Function Documentation

void KIO::MultiGetJob::data ( long  id,
const TQByteArray &  data 
) [signal]

Data from the slave has arrived.

Parameters:
idthe id of the request
datadata 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:
idthe id of the file
urlthe url of the file to get
metaDatathe meta data for this request

Definition at line 4409 of file job.cpp.

void KIO::MultiGetJob::mimetype ( long  id,
const TQString &  type 
) [signal]

Mimetype determined.

Parameters:
idthe id of the request
typethe mime type
void KIO::MultiGetJob::result ( long  id) [signal]

File transfer completed.

When all files have been processed, result(KIO::Job *) gets emitted.

Parameters:
idthe id of the request
void MultiGetJob::slotFinished ( ) [protected, virtual, slot]

Called when the slave marks the job as finished.

Reimplemented from KIO::TransferJob.

Definition at line 4512 of file job.cpp.


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

kio/kio

Skip menu "kio/kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kio/kio

Skip menu "kio/kio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kio by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |