Akonadi

linkjob.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_LINKJOB_H
8 #define AKONADI_LINKJOB_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 LinkJobPrivate;
19 
53 class AKONADICORE_EXPORT LinkJob : public Job
54 {
55  Q_OBJECT
56 public:
66  LinkJob(const Collection &collection, const Item::List &items, QObject *parent = nullptr);
67 
71  ~LinkJob() 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(LinkJob)
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 links items inside the Akonadi storage.
Definition: linkjob.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 Fri Nov 27 2020 23:19:01 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.