KDAV::DavCollectionCreateJob Class

class KDAV::DavCollectionCreateJob

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

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

Public Functions

DavCollectionCreateJob(const KDAV::DavCollection &collection, QObject *parent = nullptr)
KDAV::DavCollection collection() const
QUrl collectionUrl() const

Reimplemented Public Functions

virtual void start() override

Detailed Description

Member Function Documentation

[explicit] DavCollectionCreateJob::DavCollectionCreateJob(const KDAV::DavCollection &collection, QObject *parent = nullptr)

Creates a new DAV collection create job.

collection The collection that shall be created.

parent The parent object.

KDAV::DavCollection DavCollectionCreateJob::collection() const

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

QUrl DavCollectionCreateJob::collectionUrl() const

[override virtual] void DavCollectionCreateJob::start()

Reimplements: KJob::start().

Starts the job.