KDAV::DavItemCreateJob Class

class KDAV::DavItemCreateJob

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

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

Public Functions

DavItemCreateJob(const KDAV::DavItem &item, QObject *parent = nullptr)
KDAV::DavItem item() const
QUrl itemUrl() const

Reimplemented Public Functions

virtual void start() override

Detailed Description

Member Function Documentation

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

Creates a new DAV item create job.

item The item that shall be created.

parent The parent object.

KDAV::DavItem DavItemCreateJob::item() const

Returns the created DAV item including the correct identifier URL and current ETag information.

QUrl DavItemCreateJob::itemUrl() const

[override virtual] void DavItemCreateJob::start()

Reimplements: KJob::start().

Starts the job.