Kgapi

tasklist.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 
10 #pragma once
11 
12 #include "object.h"
13 #include "types.h"
14 #include "kgapitasks_export.h"
15 
16 #include <QScopedPointer>
17 
18 namespace KGAPI2
19 {
20 
21 /**
22  * @brief Represents a tasklist for Google Tasks service.
23  *
24  * @author Daniel Vrátil <[email protected]>
25  * @since: 0.3
26  */
27 class KGAPITASKS_EXPORT TaskList: public KGAPI2::Object
28 {
29  public:
30 
31  /**
32  * @brief Constructor
33  */
34  TaskList();
35 
36  /**
37  * @brief Copy constructor
38  */
39  TaskList (const TaskList& other);
40 
41  /**
42  * @brief Destructor
43  */
44  ~TaskList() override;
45 
46  bool operator==(const TaskList &other) const;
47 
48  /**
49  * @brief Sets tasklist UID
50  *
51  * @param uid
52  */
53  void setUid(const QString &uid);
54 
55  /**
56  * @brief Returns tasklist UID
57  */
58  QString uid() const;
59 
60  /**
61  * @brief Sets tasklist name
62  *
63  * @param title
64  */
65  void setTitle(const QString &title);
66 
67  /**
68  * @brief Returns tasklist title
69  */
70  QString title() const;
71 
72  /**
73  * @brief Sets tasklist selfLink
74  *
75  * @param selfLink
76  */
77  void setSelfLink(const QString &selfLink);
78 
79  /**
80  * @brief Returns tasklist selfLink
81  */
82  QString selfLink() const;
83 
84  /**
85  * @brief Sets tasklist updated
86  *
87  * @param updated
88  */
89  void setUpdated(const QString &updated);
90 
91  /**
92  * @brief Returns tasklist updated
93  */
94  QString updated() const;
95 
96  private:
97  class Private;
99  friend class Private;
100 
101 };
102 
103 } // namespace KGAPI2
104 
Base class for all objects.
Definition: object.h:30
Represents a tasklist for Google Tasks service.
Definition: tasklist.h:27
A job to fetch a single map tile described by a StaticMapUrl.
Definition: blog.h:15
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Oct 16 2021 23:13:15 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.