KDAV::DavItemModifyJob Class

class KDAV::DavItemModifyJob

A job that modifies a DAV item on the DAV server. More...

Header: #include <KDAV/DavItemModifyJob>
CMake: find_package(KF6 REQUIRED COMPONENTS DAV)
target_link_libraries(mytarget PRIVATE KF6::DAV)
Inherits: KDAV::DavJobBase

Public Functions

DavItemModifyJob(const KDAV::DavItem &item, QObject *parent = nullptr)
KDAV::DavItem freshItem() const
int freshResponseCode() const
KDAV::DavItem item() const
QUrl itemUrl() const

Reimplemented Public Functions

virtual void start() override

Detailed Description

Member Function Documentation

[explicit] DavItemModifyJob::DavItemModifyJob(const KDAV::DavItem &item, QObject *parent = nullptr)

Creates a new DAV item modify job.

item The item that shall be modified.

parent The parent object.

KDAV::DavItem DavItemModifyJob::freshItem() const

Returns the item that triggered the conflict, if any.

int DavItemModifyJob::freshResponseCode() const

Returns the response code we got when fetching the fresh item.

KDAV::DavItem DavItemModifyJob::item() const

Returns the modified item including the updated ETag information.

QUrl DavItemModifyJob::itemUrl() const

[override virtual] void DavItemModifyJob::start()

Reimplements: KJob::start().

Starts the job.