Akonadi

collectiondeletejob.h
1 /*
2  SPDX-FileCopyrightText: 2006 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef AKONADI_COLLECTIONDELETEJOB_H
8 #define AKONADI_COLLECTIONDELETEJOB_H
9 
10 #include "akonadicore_export.h"
11 #include "job.h"
12 
13 namespace Akonadi
14 {
15 
16 class Collection;
17 class CollectionDeleteJobPrivate;
18 
52 class AKONADICORE_EXPORT CollectionDeleteJob : public Job
53 {
54  Q_OBJECT
55 
56 public:
66  explicit CollectionDeleteJob(const Collection &collection, QObject *parent = nullptr);
67 
71  ~CollectionDeleteJob() override;
72 
73 protected:
74  void doStart() override;
75  bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response) override;
76 
77 private:
78  Q_DECLARE_PRIVATE(CollectionDeleteJob)
79 };
80 
81 }
82 
83 #endif
Represents a collection of PIM items.
Definition: collection.h:63
Base class for all actions in the Akonadi storage.
Definition: job.h:80
Job that deletes a collection in the Akonadi storage.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jul 8 2020 23:15:02 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.