Kgapi

task.h
1 /*
2  * This file is part of LibKGAPI library
3  *
4  * SPDX-FileCopyrightText: 2013 Daniel Vrátil <[email protected]>
5  *
6  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7  */
8 
9 #ifndef LIBKGAPI2_TASK_H
10 #define LIBKGAPI2_TASK_H
11 
12 #include "object.h"
13 #include "types.h"
14 #include "kgapitasks_export.h"
15 
16 #include <QScopedPointer>
17 
18 #include <KCalendarCore/Todo>
19 
20 namespace KGAPI2
21 {
22 
29 class KGAPITASKS_EXPORT Task: public KGAPI2::Object,
30  public KCalendarCore::Todo
31 {
32  public:
33 
37  explicit Task();
38 
42  Task(const Task& other);
43 
47  Task(const KCalendarCore::Todo &other);
48 
52  ~Task() override;
53 
54  bool operator==(const Task &other) const;
55 
61  void setDeleted(bool deleted);
62 
66  bool deleted() const;
67 
68  private:
69  class Private;
71  friend class Private;
72 
73 };
74 
75 } // namespace KGAPI2/
76 
77 #endif // LIBKGAPI2_OBJECTS_TASK_H
Base class for all objects.
Definition: object.h:31
A job to fetch a single map tile described by a StaticMapUrl.
Definition: blog.h:16
Represents a single task (or todo)
Definition: task.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Sep 22 2020 23:10:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.