KDAV::DavCollectionModifyJob Class

class KDAV::DavCollectionModifyJob

A job that modifies a DAV collection. More...

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

Public Functions

DavCollectionModifyJob(const KDAV::DavUrl &url, QObject *parent = nullptr)
void removeProperty(const QString &property, const QString &ns)
void setProperty(const QString &property, const QString &value, const QString &ns = QString())

Reimplemented Public Functions

virtual void start() override

Detailed Description

This job is used to modify a property of a DAV collection on the DAV server.

Member Function Documentation

[explicit] DavCollectionModifyJob::DavCollectionModifyJob(const KDAV::DavUrl &url, QObject *parent = nullptr)

Creates a new DAV collection modify job.

url The DAV URL that identifies the collection.

parent The parent object.

void DavCollectionModifyJob::removeProperty(const QString &property, const QString &ns)

Sets the property that shall be removed by the job.

property The name of the property.

ns The XML namespace that shall be used for the property name.

void DavCollectionModifyJob::setProperty(const QString &property, const QString &value, const QString &ns = QString())

Sets the property that shall be modified by the job.

property The name of the property.

value The value of the property.

ns The XML namespace that shall be used for the property name.

[override virtual] void DavCollectionModifyJob::start()

Reimplements: KJob::start().

Starts the job.