KDAV::DavCollectionModifyJob Class
class KDAV::DavCollectionModifyJobA 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) | |
(since 6.31) KDAV::DavPushDontNotify | pushDontNotify() const |
| void | removeProperty(const QString &property, const QString &ns) |
| void | setProperty(const QString &property, const QString &value, const QString &ns = QString()) |
(since 6.31) void | setPushDontNotify(const KDAV::DavPushDontNotify &dontNotify) |
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.
[since 6.31] KDAV::DavPushDontNotify DavCollectionModifyJob::pushDontNotify() const
Gets Push-Dont-Notify Urls.
This function was introduced in 6.31.
See also setPushDontNotify().
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.
[since 6.31] void DavCollectionModifyJob::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 DavCollectionModifyJob::start()
Reimplements: KJob::start().
Starts the job.