KItinerary

boattrip.h
1/*
2 SPDX-FileCopyrightText: 2021 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#include "place.h"
12
13class QDateTime;
14
15namespace KItinerary {
16
17class BoatTripPrivate;
18
19/** A boat or ferry trip.
20 * @see https://schema.org/BoatTrip
21 */
22class 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
31private:
33};
34
35}
36
37Q_DECLARE_METATYPE(KItinerary::BoatTrip)
38
Boat or ferry terminal.
Definition place.h:116
A boat or ferry trip.
Definition boattrip.h:23
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 Fri Jun 7 2024 11:52:32 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.