KIO::DavJob Class

class KIO::DavJob
Header: #include <KIO/DavJob>
CMake: find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOCore)
Inherits: KIO::TransferJob

Public Functions

(since 5.86) QByteArray responseData() const
(since 5.84) KIO::DavJob *davPropFind(const QUrl &url, const QString &properties, const QString &depth, KIO::JobFlags flags = DefaultFlags)
(since 5.84) KIO::DavJob *davPropPatch(const QUrl &url, const QString &properties, KIO::JobFlags flags = DefaultFlags)
KIO::DavJob *davReport(const QUrl &url, const QString &report, const QString &depth, KIO::JobFlags flags = DefaultFlags)
KIO::DavJob *davSearch(const QUrl &url, const QString &nsURI, const QString &qName, const QString &query, KIO::JobFlags flags = DefaultFlags)

Detailed Description

The transfer job pumps data into and/or out of a KIO worker. Data is sent to the worker on request of the worker ( dataReq). If data coming from the worker can not be handled, the reading of data from the worker should be suspended.

See also KIO::davPropFind(), KIO::davPropPatch(), and KIO::davSearch().

Member Function Documentation

[since 5.86] QByteArray DavJob::responseData() const

Returns the reponse data.

This function was introduced in 5.86.

Related Non-Members

[since 5.84] KIO::DavJob *davPropFind(const QUrl &url, const QString &properties, const QString &depth, KIO::JobFlags flags = DefaultFlags)

Creates a new DavJob that issues a PROPFIND command. PROPFIND retrieves the properties of the resource identified by the given \p url.

url the URL of the resource

properties a propfind document that describes the properties that should be retrieved

depth the depth of the request. Can be "0", "1" or "infinity"

flags We support HideProgressInfo here

Returns the new DavJob

This function was introduced in 5.84.

[since 5.84] KIO::DavJob *davPropPatch(const QUrl &url, const QString &properties, KIO::JobFlags flags = DefaultFlags)

Creates a new DavJob that issues a PROPPATCH command. PROPPATCH sets the properties of the resource identified by the given url.

url the URL of the resource

properties a PROPPACTCH document that describes the properties that should be modified and its new values

flags We support HideProgressInfo here

Returns the new DavJob

This function was introduced in 5.84.

KIO::DavJob *davReport(const QUrl &url, const QString &report, const QString &depth, KIO::JobFlags flags = DefaultFlags)

Creates a new DavJob that issues a REPORT command.

url the URL of the resource

report a REPORT document that describes the request to make

depth the depth of the request. Can be "0", "1" or "infinity"

flags We support HideProgressInfo here

Returns the new DavJob

KIO::DavJob *davSearch(const QUrl &url, const QString &nsURI, const QString &qName, const QString &query, KIO::JobFlags flags = DefaultFlags)

Creates a new DavJob that issues a SEARCH command.

url the URL of the resource

nsURI the URI of the search method's qualified name

qName the local part of the search method's qualified name

query the search string

flags We support HideProgressInfo here

Returns the new DavJob