KDAV

davcollectiondeletejob.h
1/*
2 SPDX-FileCopyrightText: 2010 Grégory Oestreicher <greg@kamago.net>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KDAV_DAVCOLLECTIONDELETEJOB_H
8#define KDAV_DAVCOLLECTIONDELETEJOB_H
9
10#include "kdav_export.h"
11
12#include "davjobbase.h"
13#include "davurl.h"
14
15namespace KDAV
16{
17class DavCollectionDeleteJobPrivate;
18
19/**
20 * @class DavCollectionDeleteJob davcollectiondeletejob.h <KDAV/DavCollectionDeleteJob>
21 *
22 * @short A job that deletes a DAV collection.
23 *
24 * This job is used to delete a DAV collection at a certain URL.
25 */
26class KDAV_EXPORT DavCollectionDeleteJob : public DavJobBase
27{
28 Q_OBJECT
29
30public:
31 /**
32 * Creates a new DAV collection delete job.
33 *
34 * @param url The DAV URL of the collection to delete
35 * @param parent The parent object.
36 */
37 explicit DavCollectionDeleteJob(const DavUrl &url, QObject *parent = nullptr);
38
39 /**
40 * Starts the job.
41 */
42 void start() override;
43
44private:
45 Q_DECLARE_PRIVATE(DavCollectionDeleteJob)
46};
47}
48
49#endif
A job that deletes a DAV collection.
base class for the jobs used by the resource.
Definition davjobbase.h:27
A helper class to combine URL and protocol of a DAV URL.
Definition davurl.h:27
Q_SCRIPTABLE Q_NOREPLY void start()
The KDAV namespace.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.