• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

KIO

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

#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

virtual ~MultiGetJob ()
void get (long id, const KUrl &url, const MetaData &metaData)

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


Constructor & Destructor Documentation

MultiGetJob::~MultiGetJob ( ) [virtual]

Definition at line 2777 of file job.cpp.

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

Definition at line 2772 of file job.cpp.


Member Function Documentation

void KIO::MultiGetJob::data ( long  id,
const QByteArray &  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 2781 of file job.cpp.

void KIO::MultiGetJob::mimetype ( long  id,
const QString &  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(KJob *) gets emitted.

Parameters:
idthe id of the request
void MultiGetJob::slotData ( const QByteArray &  data) [protected, virtual, slot]

Reimplemented from KIO::TransferJob.

Definition at line 2926 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 2891 of file job.cpp.

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

Reimplemented from KIO::TransferJob.

Definition at line 2933 of file job.cpp.

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

Reimplemented from KIO::TransferJob.

Definition at line 2877 of file job.cpp.


The documentation for this class was generated from the following files:
  • jobclasses.h
  • job.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:55:29 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal