Kgapi

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

KDE's Doxygen guidelines are available online.