Akonadi

tagmodifyjob.h
1 /*
2  SPDX-FileCopyrightText: 2014 Christian Mollekopf <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef AKONADI_TAGMODIFYJOB_H
8 #define AKONADI_TAGMODIFYJOB_H
9 
10 #include "akonadicore_export.h"
11 #include "job.h"
12 
13 namespace Akonadi
14 {
15 
16 class Tag;
17 class TagModifyJobPrivate;
18 
23 class AKONADICORE_EXPORT TagModifyJob : public Job
24 {
25  Q_OBJECT
26 
27 public:
34  explicit TagModifyJob(const Tag &tag, QObject *parent = nullptr);
35 
39  Q_REQUIRED_RESULT Tag tag() const;
40 
41 protected:
42  void doStart() override;
43  bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response) override;
44 
45 private:
46  Q_DECLARE_PRIVATE(TagModifyJob)
47 };
48 
49 }
50 
51 #endif
Base class for all actions in the Akonadi storage.
Definition: job.h:80
Helper integration between Akonadi and Qt.
Job that modifies a tag in the Akonadi storage.
Definition: tagmodifyjob.h:23
An Akonadi Tag.
Definition: tag.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jul 8 2020 23:15:04 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.