Akonadi

collectionmovejob.h
1 /*
2  SPDX-FileCopyrightText: 2009 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef AKONADI_COLLECTIONMOVEJOB_H
8 #define AKONADI_COLLECTIONMOVEJOB_H
9 
10 #include "akonadicore_export.h"
11 #include "job.h"
12 
13 namespace Akonadi
14 {
15 
16 class Collection;
17 class CollectionMoveJobPrivate;
18 
37 class AKONADICORE_EXPORT CollectionMoveJob : public Job
38 {
39  Q_OBJECT
40 
41 public:
49  CollectionMoveJob(const Collection &collection, const Collection &destination, QObject *parent = nullptr);
50 
51 protected:
52  void doStart() override;
53  bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response) override;
54 
55 private:
56  Q_DECLARE_PRIVATE(CollectionMoveJob)
57 };
58 
59 }
60 
61 #endif
Job that moves a collection in the Akonadi storage to a new parent collection.
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 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.