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
(since 6.31) KDAV::DavPushDontNotify pushDontNotify() const
(since 6.31) void setPushDontNotify(const KDAV::DavPushDontNotify &dontNotify)

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

[since 6.31] KDAV::DavPushDontNotify DavItemModifyJob::pushDontNotify() const

Gets Push-Dont-Notify URLs.

This function was introduced in 6.31.

See also setPushDontNotify().

[since 6.31] void DavItemModifyJob::setPushDontNotify(const KDAV::DavPushDontNotify &dontNotify)

Sets Push-Dont-Notify URLs that should not be notified.

This function was introduced in 6.31.

See also pushDontNotify().

[override virtual] void DavItemModifyJob::start()

Reimplements: KJob::start().

Starts the job.