kio Library API Documentation

KIO::DavJob Class Reference

The transfer job pumps data into and/or out of a Slave. More...

#include <davjob.h>

Inheritance diagram for KIO::DavJob:

KIO::TransferJob KIO::SimpleJob KIO::Job QObject List of all members.

Public Methods

 DavJob (const KURL &url, int method, const QString &request, bool showProgressInfo)
QDomDocumentresponse ()

Protected Slots

virtual void slotFinished ()
virtual void slotData (const QByteArray &data)

Protected Attributes

bool m_suspended
TransferJobm_subJob

Detailed Description

The transfer job pumps data into and/or out of a Slave.

Data is sent to the slave on request of the slave ( dataReq). If data coming from the slave can not be handled, the reading of data from the slave should be suspended.

See also:
KIO::davPropFind() , KIO::davPropPatch() , KIO::davSearch()
Since:
3.1

Definition at line 57 of file davjob.h.


Constructor & Destructor Documentation

DavJob::DavJob const KURL   url,
int    method,
const QString   request,
bool    showProgressInfo
 

Use KIO::davPropFind(), KIO::davPropPatch() and KIO::davSearch() to create a new DavJob.

Definition at line 51 of file davjob.cpp.

References QString::isEmpty(), QString::isNull(), and QString::utf8().


Member Function Documentation

QDomDocument& KIO::DavJob::response   [inline]
 

Returns the response as a QDomDocument.

Returns:
the response document

Definition at line 71 of file davjob.h.

void DavJob::slotFinished   [protected, virtual, slot]
 

Called when the slave marks the job as finished.

Reimplemented from KIO::TransferJob.

Definition at line 73 of file davjob.cpp.

References QDomDocument::createElementNS(), QDomDocument::createTextNode(), KURL::isEmpty(), KURL::isValid(), and QDomDocument::setContent().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kio Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 22 14:24:21 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003