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

KIO

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

#include <job_p.h>

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

List of all members.

Public Member Functions

 TransferJobPrivate (const KUrl &url, int command, const QByteArray &packedArgs, const QByteArray &_staticData)
 TransferJobPrivate (const KUrl &url, int command, const QByteArray &packedArgs, QIODevice *ioDevice)
void internalResume ()
void internalSuspend ()
void slotCanResume (KIO::filesize_t offset)
virtual void slotDataReqFromDevice ()
void slotErrorPage ()
void slotNeedSubUrlData ()
void slotPostRedirection ()
void slotSubUrlData (KIO::Job *, const QByteArray &)
virtual void start (KIO::Slave *slave)

Static Public Member Functions

static TransferJob * newJob (const KUrl &url, int command, const QByteArray &packedArgs, const QByteArray &_staticData, JobFlags flags)
static TransferJob * newJob (const KUrl &url, int command, const QByteArray &packedArgs, QIODevice *ioDevice, JobFlags flags)

Public Attributes

bool m_errorPage
bool m_internalSuspended
bool m_isMimetypeEmitted
QString m_mimetype
QWeakPointer< QIODevice > m_outgoingDataSource
KUrl::List m_redirectionList
KUrl m_redirectionURL
TransferJob * m_subJob
QByteArray staticData

Constructor & Destructor Documentation

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

Definition at line 246 of file job_p.h.

KIO::TransferJobPrivate::TransferJobPrivate ( const KUrl &  url,
int  command,
const QByteArray &  packedArgs,
QIODevice *  ioDevice 
) [inline]

Definition at line 253 of file job_p.h.


Member Function Documentation

void TransferJobPrivate::internalResume ( )

Flow control.

Resume data processing from the slave.

Definition at line 1191 of file job.cpp.

void TransferJobPrivate::internalSuspend ( )

Flow control.

Suspend data processing from the slave.

Definition at line 1184 of file job.cpp.

static TransferJob* KIO::TransferJobPrivate::newJob ( const KUrl &  url,
int  command,
const QByteArray &  packedArgs,
const QByteArray &  _staticData,
JobFlags  flags 
) [inline, static]

Definition at line 301 of file job_p.h.

static TransferJob* KIO::TransferJobPrivate::newJob ( const KUrl &  url,
int  command,
const QByteArray &  packedArgs,
QIODevice *  ioDevice,
JobFlags  flags 
) [inline, static]

Definition at line 313 of file job_p.h.

void TransferJobPrivate::slotCanResume ( KIO::filesize_t  offset)

Definition at line 1286 of file job.cpp.

void TransferJobPrivate::slotDataReqFromDevice ( ) [virtual]

Called when the ioslave needs the data to send the server. This slot is invoked when the data is to be sent is read from a QIODevice rather instead of a QByteArray buffer.

Definition at line 1292 of file job.cpp.

void TransferJobPrivate::slotErrorPage ( )

Definition at line 1281 of file job.cpp.

void TransferJobPrivate::slotNeedSubUrlData ( )

Definition at line 1255 of file job.cpp.

void TransferJobPrivate::slotPostRedirection ( )

Definition at line 1667 of file job.cpp.

void TransferJobPrivate::slotSubUrlData ( KIO::Job *  ,
const QByteArray &  data 
)

Definition at line 1266 of file job.cpp.

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

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

Parameters:
slavethe slave that works on the job

Reimplemented from KIO::SimpleJobPrivate.

Definition at line 1213 of file job.cpp.


Member Data Documentation

bool KIO::TransferJobPrivate::m_errorPage

Definition at line 262 of file job_p.h.

bool KIO::TransferJobPrivate::m_internalSuspended

Definition at line 261 of file job_p.h.

bool KIO::TransferJobPrivate::m_isMimetypeEmitted

Definition at line 267 of file job_p.h.

QString KIO::TransferJobPrivate::m_mimetype

Definition at line 266 of file job_p.h.

QWeakPointer<QIODevice> KIO::TransferJobPrivate::m_outgoingDataSource

Definition at line 269 of file job_p.h.

KUrl::List KIO::TransferJobPrivate::m_redirectionList

Definition at line 265 of file job_p.h.

KUrl KIO::TransferJobPrivate::m_redirectionURL

Definition at line 264 of file job_p.h.

TransferJob* KIO::TransferJobPrivate::m_subJob

Definition at line 268 of file job_p.h.

QByteArray KIO::TransferJobPrivate::staticData

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