KItinerary

event.h
1/*
2 SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org>
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
12namespace KItinerary {
13
14class EventPrivate;
15
16/** An event.
17 * @see https://schema.org/Event
18 * @see https://developers.google.com/gmail/markup/reference/event-reservation
19 */
20class 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 KITINERARY_PROPERTY(QVariantList, potentialAction, setPotentialAction)
32
33private:
35};
36
37}
38
39Q_DECLARE_METATYPE(KItinerary::Event)
40
An event.
Definition event.h:21
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.