KItinerary

event.h
1 /*
2  SPDX-FileCopyrightText: 2018 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "kitinerary_export.h"
10 #include "datatypes.h"
11 
12 namespace KItinerary {
13 
14 class EventPrivate;
15 
16 /** An event.
17  * @see https://schema.org/Event
18  * @see https://developers.google.com/gmail/markup/reference/event-reservation
19  */
20 class KITINERARY_EXPORT Event
21 {
22  KITINERARY_GADGET(Event)
23  KITINERARY_PROPERTY(QString, name, setName)
24  KITINERARY_PROPERTY(QString, description, setDescription)
25  KITINERARY_PROPERTY(QUrl, image, setImage)
26  KITINERARY_PROPERTY(QUrl, url, setUrl)
27  KITINERARY_PROPERTY(QDateTime, startDate, setStartDate)
28  KITINERARY_PROPERTY(QDateTime, endDate, setEndDate)
29  KITINERARY_PROPERTY(QDateTime, doorTime, setDoorTime)
30  KITINERARY_PROPERTY(QVariant, location, setLocation)
31 
32 private:
34 };
35 
36 }
37 
38 Q_DECLARE_METATYPE(KItinerary::Event)
39 
Classes for reservation/travel data models, data extraction and data augmentation.
An event.
Definition: event.h:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Oct 15 2021 23:17:15 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.