• Skip to content
  • Skip to link menu
KDE 4.2 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:

Inheritance graph
[legend]

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


Constructor & Destructor Documentation

SimpleJob::~SimpleJob (  ) 

Definition at line 367 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 299 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 320 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 337 of file job.cpp.

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

Suspend this job.

See also:
resume

Reimplemented from KIO::Job.

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

void SimpleJob::removeOnHold (  )  [static]

Discard suspended slave.

Definition at line 362 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 493 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 462 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 541 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 504 of file job.cpp.

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

Definition at line 547 of file job.cpp.

const KUrl & SimpleJob::url (  )  const

Returns the SimpleJob's URL.

Returns:
the url

Definition at line 345 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