KDAV::DavItemDeleteJob Class
class KDAV::DavItemDeleteJobA job to delete a DAV item on the DAV server. More...
| Header: | #include <KDAV/DavItemDeleteJob> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS DAV)target_link_libraries(mytarget PRIVATE KF6::DAV) |
| Inherits: | KDAV::DavJobBase |
Public Functions
| DavItemDeleteJob(const KDAV::DavItem &item, QObject *parent = nullptr) | |
| KDAV::DavItem | freshItem() const |
| int | freshResponseCode() 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] DavItemDeleteJob::DavItemDeleteJob(const KDAV::DavItem &item, QObject *parent = nullptr)
Creates a new DAV item delete job.
item The item that shall be deleted.
parent The parent object.
KDAV::DavItem DavItemDeleteJob::freshItem() const
Returns the item that triggered the conflict, if any.
int DavItemDeleteJob::freshResponseCode() const
Returns the response code we got when fetching the fresh item.
[since 6.31] KDAV::DavPushDontNotify DavItemDeleteJob::pushDontNotify() const
Gets Push-Dont-Notify Urls.
This function was introduced in 6.31.
See also setPushDontNotify().
[since 6.31] void DavItemDeleteJob::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 DavItemDeleteJob::start()
Reimplements: KJob::start().
Starts the job.