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
(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] 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

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

Gets Push-Dont-Notify Urls.

This function was introduced in 6.31.

See also setPushDontNotify().

[since 6.31] void DavCollectionCreateJob::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 DavCollectionCreateJob::start()

Reimplements: KJob::start().

Starts the job.