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

KIO

KIO::SimpleJob

KIO::SimpleJob Class Reference

A simple job (one url and one command). More...

#include <jobclasses.h>

Inheritance diagram for KIO::SimpleJob:
KIO::Job KCompositeJob KJob QObject KIO::FileJob KIO::ListJob KIO::StatJob KIO::TransferJob KIO::DavJob KIO::MimetypeJob KIO::MultiGetJob KIO::SpecialJob KIO::StoredTransferJob

List of all members.

Public Slots

void slotError (int, const QString &)

Public Member Functions

virtual void putOnHold ()
const KUrl & url () const
 ~SimpleJob ()

Static Public Member Functions

static void removeOnHold ()

Protected Slots

virtual void slotFinished ()
virtual void slotMetaData (const KIO::MetaData &_metaData)
virtual void slotWarning (const QString &)

Protected Member Functions

virtual bool doKill ()
virtual bool doResume ()
virtual bool doSuspend ()
 SimpleJob (SimpleJobPrivate &dd)
void storeSSLSessionFromJob (const KUrl &m_redirectionURL)

Detailed Description

A simple job (one url and one command).

This is the base class for all jobs that are scheduled. Other jobs are high-level jobs (CopyJob, DeleteJob, FileCopyJob...) that manage subjobs but aren't scheduled directly.

Definition at line 321 of file jobclasses.h.


Constructor & Destructor Documentation

SimpleJob::~SimpleJob (  ) 

Definition at line 361 of file job.cpp.

SimpleJob::SimpleJob ( SimpleJobPrivate &  dd  )  [protected]

Creates a new simple job.

You don't need to use this constructor, unless you create a new job that inherits from SimpleJob.

Definition at line 293 of file job.cpp.


Member Function Documentation

bool SimpleJob::doKill (  )  [protected, virtual]

Abort job.

This kills all subjobs and deletes the job.

Reimplemented from KIO::Job.

Definition at line 314 of file job.cpp.

bool SimpleJob::doResume (  )  [protected, virtual]

Resume this job.

See also:
suspend

Reimplemented from KIO::Job.

Reimplemented in KIO::TransferJob.

Definition at line 331 of file job.cpp.

bool SimpleJob::doSuspend (  )  [protected, virtual]

Suspend this job.

See also:
resume

Reimplemented from KIO::Job.

Definition at line 323 of file job.cpp.

void SimpleJob::putOnHold (  )  [virtual]

Abort job.

Suspends slave to be reused by another job for the same request.

Definition at line 344 of file job.cpp.

void SimpleJob::removeOnHold (  )  [static]

Discard suspended slave.

Definition at line 356 of file job.cpp.

void SimpleJob::slotError ( int  err,
const QString &  errorText 
) [slot]

For internal use only.

Called on a slave's error. Made public for the scheduler.

Definition at line 481 of file job.cpp.

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

Called when the slave marks the job as finished.

Reimplemented in KIO::DavJob, KIO::StatJob, KIO::TransferJob, KIO::MultiGetJob, KIO::MimetypeJob, and KIO::ListJob.

Definition at line 450 of file job.cpp.

void SimpleJob::slotMetaData ( const KIO::MetaData &  _metaData  )  [protected, virtual, slot]

MetaData from the slave is received.

Parameters:
_metaData the meta data
See also:
metaData()

Reimplemented in KIO::StatJob, KIO::TransferJob, and KIO::ListJob.

Definition at line 529 of file job.cpp.

void SimpleJob::slotWarning ( const QString &  errorText  )  [protected, virtual, slot]

For internal use only.

Called on a slave's warning.

Definition at line 492 of file job.cpp.

void SimpleJob::storeSSLSessionFromJob ( const KUrl &  m_redirectionURL  )  [protected]

Definition at line 535 of file job.cpp.

const KUrl & SimpleJob::url (  )  const

Returns the SimpleJob's URL.

Returns:
the url

Definition at line 339 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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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