Kgapi

event.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_EVENT_H
10 #define LIBKGAPI2_EVENT_H
11 
12 #include "object.h"
13 #include "types.h"
14 #include "kgapicalendar_export.h"
15 
16 #include <KCalendarCore/Event>
17 
18 #include <QScopedPointer>
19 
20 namespace KGAPI2
21 {
22 
29 class KGAPICALENDAR_EXPORT Event: public KGAPI2::Object,
31 {
32  public:
36  Event();
37 
41  Event(const Event& other);
42 
46  explicit Event(const KCalendarCore::Event &event);
47 
51  ~Event();
52 
53  bool operator==(const Event &other) const;
54 
60  void setDeleted(bool deleted);
61 
65  bool deleted() const;
66 
72  void setUseDefaultReminders(bool useDefault);
73 
77  bool useDefaultReminders() const;
78 
84  QString id() const;
85 
89  void setId(const QString &id);
90 
91  private:
92  class Private;
94 
95 };
96 
97 } // namespace KGAPI
98 
99 #endif // LIBKGAPI2_EVENT_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 event from Google Calendar.
Definition: event.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Sep 21 2020 23:10:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.