KItinerary

boattrip.h
1 /*
2  SPDX-FileCopyrightText: 2021 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 #include "place.h"
12 
13 class QDateTime;
14 
15 namespace KItinerary {
16 
17 class BoatTripPrivate;
18 
19 /** A boat or ferry trip.
20  * @see https://schema.org/BoatTrip
21  */
22 class KITINERARY_EXPORT BoatTrip
23 {
24  KITINERARY_GADGET(BoatTrip)
25  KITINERARY_PROPERTY(QString, name, setName)
26  KITINERARY_PROPERTY(KItinerary::BoatTerminal, arrivalBoatTerminal, setArrivalBoatTerminal)
27  KITINERARY_PROPERTY(QDateTime, arrivalTime, setArrivalTime)
28  KITINERARY_PROPERTY(KItinerary::BoatTerminal, departureBoatTerminal, setDepartureBoatTerminal)
29  KITINERARY_PROPERTY(QDateTime, departureTime, setDepartureTime)
30 
31 private:
33 };
34 
35 }
36 
37 Q_DECLARE_METATYPE(KItinerary::BoatTrip)
38 
Classes for reservation/travel data models, data extraction and data augmentation.
Boat or ferry terminal.
Definition: place.h:103
A boat or ferry trip.
Definition: boattrip.h:22
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.