• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • 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:
KIO::SimpleJobPrivate KIO::JobPrivate KCompositeJobPrivate KJobPrivate

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)
- Public Member Functions inherited from KIO::SimpleJobPrivate
 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)
- Public Member Functions inherited from KIO::JobPrivate
 JobPrivate ()
void slotSpeed (KJob *job, unsigned long speed)
KIO::JobUiDelegate * ui () const
- Public Member Functions inherited from KCompositeJobPrivate
 KCompositeJobPrivate ()
 ~KCompositeJobPrivate ()
virtual ~KJobPrivate ()
void _k_speedTimeout ()
 KJobPrivate ()

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)
- Static Public Member Functions inherited from KIO::SimpleJobPrivate
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)
- Static Public Member Functions inherited from KIO::JobPrivate
static void emitCopying (KIO::Job *, const KUrl &src, const KUrl &dest)
static void emitCreatingDir (KIO::Job *, const KUrl &dir)
static void emitDeleting (KIO::Job *, const KUrl &url)
static void emitMounting (KIO::Job *, const QString &dev, const QString &point)
static void emitMoving (KIO::Job *, const KUrl &src, const KUrl &dest)
static void emitStating (KIO::Job *, const KUrl &url)
static void emitTransferring (KIO::Job *, const KUrl &url)
static void emitUnmounting (KIO::Job *, const QString &point)

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
- Public Attributes inherited from KIO::SimpleJobPrivate
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
- Public Attributes inherited from KIO::JobPrivate
int m_extraFlags
MetaData m_incomingMetaData
MetaData m_internalMetaData
MetaData m_outgoingMetaData
Job * m_parentJob
- Public Attributes inherited from KCompositeJobPrivate
KJob::Capabilities capabilities
int error
QString errorText
QEventLoop * eventLoop
bool isAutoDelete
bool isFinished
unsigned long percentage
QMap< KJob::Unit, qulonglong > processedAmount
KJob::Unit progressUnit
KJob * q_ptr
QTimer * speedTimer
QList< KJob * > subjobs
bool suspended
QMap< KJob::Unit, qulonglong > totalAmount
KJobUiDelegate * uiDelegate
- Public Attributes inherited from KJobPrivate

Detailed Description

Definition at line 243 of file job_p.h.


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 
)
inlinestatic

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 
)
inlinestatic

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 1676 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:48:03 by doxygen 1.8.1.1 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.10.5 API Reference

Skip menu "kdelibs-4.10.5 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