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

KIO

  • KIO
  • SimpleJobPrivate
Public Member Functions | Static Public Member Functions | Public Attributes
KIO::SimpleJobPrivate Class Reference

#include <job_p.h>

Inheritance diagram for KIO::SimpleJobPrivate:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SimpleJobPrivate (const KUrl &url, int command, const QByteArray &packedArgs)
void _k_slotSlaveInfoMessage (const QString &s)
void restartAfterRedirection (KUrl *redirectionUrl)
void simpleJobInit ()
void slaveDone ()
void slotConnected ()
void slotProcessedSize (KIO::filesize_t data_size)
void slotSpeed (unsigned long speed)
void slotTotalSize (KIO::filesize_t data_size)
virtual void start (KIO::Slave *slave)

Static Public Member Functions

static SimpleJobPrivate * get (KIO::SimpleJob *job)
static SimpleJob * newJob (const KUrl &url, int command, const QByteArray &packedArgs, JobFlags flags=HideProgressInfo)
static SimpleJob * newJobNoUi (const KUrl &url, int command, const QByteArray &packedArgs)

Public Attributes

bool m_checkOnHold
int m_command
QByteArray m_packedArgs
QString m_protocol
QStringList m_proxyList
bool m_redirectionHandlingEnabled
int m_schedSerial
Slave * m_slave
KUrl m_subUrl
KUrl m_url

Constructor & Destructor Documentation

KIO::SimpleJobPrivate::SimpleJobPrivate ( const KUrl &  url,
int  command,
const QByteArray &  packedArgs 
) [inline]

Creates a new simple job.

Parameters:
urlthe url of the job
commandthe command of the job
packedArgsthe arguments

Definition at line 87 of file job_p.h.


Member Function Documentation

void SimpleJobPrivate::_k_slotSlaveInfoMessage ( const QString &  s)

Called on a slave's info message.

Parameters:
sthe info message
See also:
infoMessage()

Definition at line 514 of file job.cpp.

static SimpleJobPrivate* KIO::SimpleJobPrivate::get ( KIO::SimpleJob *  job) [inline, static]

Definition at line 183 of file job_p.h.

static SimpleJob* KIO::SimpleJobPrivate::newJob ( const KUrl &  url,
int  command,
const QByteArray &  packedArgs,
JobFlags  flags = HideProgressInfo 
) [inline, static]

Definition at line 190 of file job_p.h.

static SimpleJob* KIO::SimpleJobPrivate::newJobNoUi ( const KUrl &  url,
int  command,
const QByteArray &  packedArgs 
) [inline, static]

Definition at line 185 of file job_p.h.

void SimpleJobPrivate::restartAfterRedirection ( KUrl *  redirectionUrl)

Called by subclasses to restart the job after a redirection was signalled.

The m_redirectionURL data member can appear in several subclasses, so we have it passed in. The regular URL will be set to the redirection URL which is then cleared.

Definition at line 546 of file job.cpp.

void SimpleJobPrivate::simpleJobInit ( )

Definition at line 297 of file job.cpp.

void SimpleJobPrivate::slaveDone ( )

Called to detach a slave from a job.

Definition at line 452 of file job.cpp.

void SimpleJobPrivate::slotConnected ( )

Called on a slave's connected signal.

See also:
connected()

Definition at line 519 of file job.cpp.

void SimpleJobPrivate::slotProcessedSize ( KIO::filesize_t  data_size)

Forward signal from the slave.

Parameters:
data_sizethe processed size in bytes
See also:
processedSize()

Definition at line 533 of file job.cpp.

void SimpleJobPrivate::slotSpeed ( unsigned long  speed)

Forward signal from the slave.

Parameters:
speedthe speed in bytes/s
See also:
speed()

Definition at line 540 of file job.cpp.

void SimpleJobPrivate::slotTotalSize ( KIO::filesize_t  data_size)

Forward signal from the slave Can also be called by the parent job, when it knows the size.

Parameters:
data_sizethe total size

Definition at line 524 of file job.cpp.

void SimpleJobPrivate::start ( KIO::Slave *  slave) [virtual]

Called by the scheduler when a slave gets to work on this job.

Reimplemented in KIO::TransferJobPrivate.

Definition at line 384 of file job.cpp.


Member Data Documentation

bool KIO::SimpleJobPrivate::m_checkOnHold

Definition at line 124 of file job_p.h.

int KIO::SimpleJobPrivate::m_command

Definition at line 105 of file job_p.h.

QByteArray KIO::SimpleJobPrivate::m_packedArgs

Definition at line 102 of file job_p.h.

QString KIO::SimpleJobPrivate::m_protocol

Definition at line 122 of file job_p.h.

QStringList KIO::SimpleJobPrivate::m_proxyList

Definition at line 123 of file job_p.h.

bool KIO::SimpleJobPrivate::m_redirectionHandlingEnabled

Definition at line 126 of file job_p.h.

int KIO::SimpleJobPrivate::m_schedSerial

Definition at line 125 of file job_p.h.

Slave* KIO::SimpleJobPrivate::m_slave

Definition at line 101 of file job_p.h.

KUrl KIO::SimpleJobPrivate::m_subUrl

Definition at line 104 of file job_p.h.

KUrl KIO::SimpleJobPrivate::m_url

Definition at line 103 of file job_p.h.


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

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

Skip menu "kdelibs"
  • 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
Generated for kdelibs by doxygen 1.7.5
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