Akonadi

unlinkjob.h
1 /*
2  SPDX-FileCopyrightText: 2008 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef AKONADI_UNLINKJOB_H
8 #define AKONADI_UNLINKJOB_H
9 
10 #include "akonadicore_export.h"
11 #include "job.h"
12 #include "item.h"
13 
14 namespace Akonadi
15 {
16 
17 class Collection;
18 class UnlinkJobPrivate;
19 
53 class AKONADICORE_EXPORT UnlinkJob : public Job
54 {
55  Q_OBJECT
56 public:
66  UnlinkJob(const Collection &collection, const Item::List &items, QObject *parent = nullptr);
67 
71  ~UnlinkJob() 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(UnlinkJob)
79  template <typename T> friend class LinkJobImpl;
80 };
81 
82 }
83 
84 #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 unlinks items inside the Akonadi storage.
Definition: unlinkjob.h:53
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Aug 11 2020 23:19:28 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.