Akonadi

collectionmodifyjob.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_COLLECTIONMODIFYJOB_H
8 #define AKONADI_COLLECTIONMODIFYJOB_H
9 
10 #include "akonadicore_export.h"
11 #include "job.h"
12 
13 namespace Akonadi
14 {
15 
16 class CachePolicy;
17 class Collection;
18 class CollectionModifyJobPrivate;
19 
69 class AKONADICORE_EXPORT CollectionModifyJob : public Job
70 {
71  Q_OBJECT
72 
73 public:
84  explicit CollectionModifyJob(const Collection &collection, QObject *parent = nullptr);
85 
89  ~CollectionModifyJob() override;
90 
96  Q_REQUIRED_RESULT Collection collection() const;
97 
98 protected:
99  void doStart() override;
100  bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response) override;
101 
102 private:
103  Q_DECLARE_PRIVATE(CollectionModifyJob)
104 };
105 
106 }
107 
108 #endif
Job that modifies a collection in the Akonadi storage.
Represents a collection of PIM items.
Definition: collection.h:63
Base class for all actions in the Akonadi storage.
Definition: job.h:80
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jul 5 2020 23:16:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.