KDAV::DavItemDeleteJob Class

class KDAV::DavItemDeleteJob

A job to delete a DAV item on the DAV server. More...

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

Public Functions

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

Reimplemented Public Functions

virtual void start() override

Detailed Description

Member Function Documentation

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

Creates a new DAV item delete job.

item The item that shall be deleted.

parent The parent object.

KDAV::DavItem DavItemDeleteJob::freshItem() const

Returns the item that triggered the conflict, if any.

int DavItemDeleteJob::freshResponseCode() const

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

[override virtual] void DavItemDeleteJob::start()

Reimplements: KJob::start().

Starts the job.