KItinerary

action.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
12class QUrl;
13
14namespace KItinerary {
15
16class ActionPrivate;
17
18/** Base class for actions.
19 * @see https://schema.org/Action
20 */
21class KITINERARY_EXPORT Action
22{
23 KITINERARY_GADGET(Action)
24 KITINERARY_PROPERTY(QUrl, target, setTarget)
25 KITINERARY_PROPERTY(QVariant, result, setResult)
26protected:
27 ///@cond internal
29 ///@endcond
30};
31
32class CancelActionPrivate;
33
34/** Cancel action.
35 * @see https://schema.org/CancelAction
36 */
37class KITINERARY_EXPORT CancelAction : public Action
38{
39 KITINERARY_GADGET(CancelAction)
40};
41
42class CheckInActionPrivate;
43
44/** Check-in action.
45 * @see https://schema.org/CheckInAction
46 */
47class KITINERARY_EXPORT CheckInAction : public Action
48{
49 KITINERARY_GADGET(CheckInAction)
50};
51
52class DownloadActionPrivate;
53
54/** Download action.
55 * @see https://schema.org/DownloadAction
56 */
57class KITINERARY_EXPORT DownloadAction : public Action
58{
59 KITINERARY_GADGET(DownloadAction)
60};
61
62class JoinActionPrivate;
63
64/** Action to join an event.
65 * @see https://schema.org/JoinAction
66 */
67class KITINERARY_EXPORT JoinAction : public Action
68{
69 KITINERARY_GADGET(JoinAction)
70};
71
72class ReserveActionPrivate;
73
74/** Reserve action.
75 * @see https://schema.org/ReserveAction
76 */
77class KITINERARY_EXPORT ReserveAction : public Action
78{
79 KITINERARY_GADGET(ReserveAction)
80};
81
82class UpdateActionPrivate;
83
84/** Edit/update action.
85 * @see https://schema.org/UpdateAction
86 */
87class KITINERARY_EXPORT UpdateAction : public Action
88{
89 KITINERARY_GADGET(UpdateAction)
90};
91
92class ViewActionPrivate;
93
94/** View action.
95 * @see https://schema.org/ViewAction
96 */
97class KITINERARY_EXPORT ViewAction : public Action
98{
99 KITINERARY_GADGET(ViewAction)
100};
101
102}
103
Base class for actions.
Definition action.h:22
Cancel action.
Definition action.h:38
Check-in action.
Definition action.h:48
Download action.
Definition action.h:58
Action to join an event.
Definition action.h:68
Reserve action.
Definition action.h:78
Edit/update action.
Definition action.h:88
View action.
Definition action.h:98
void setTarget(const SkyPoint &targetCoord)
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.