KItinerary

boattrip.cpp
1/*
2 SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "boattrip.h"
8#include "datatypes_p.h"
9
10#include <QDateTime>
11
12using namespace KItinerary;
13
14namespace KItinerary {
15
16class BoatTripPrivate : public QSharedData
17{
18public:
19 QString name;
20 BoatTerminal arrivalBoatTerminal;
21 QDateTime arrivalTime;
22 BoatTerminal departureBoatTerminal;
23 QDateTime departureTime;
24};
25
26KITINERARY_MAKE_CLASS(BoatTrip)
27KITINERARY_MAKE_PROPERTY(BoatTrip, QString, name, setName)
28KITINERARY_MAKE_PROPERTY(BoatTrip, BoatTerminal, arrivalBoatTerminal, setArrivalBoatTerminal)
29KITINERARY_MAKE_PROPERTY(BoatTrip, QDateTime, arrivalTime, setArrivalTime)
30KITINERARY_MAKE_PROPERTY(BoatTrip, BoatTerminal, departureBoatTerminal, setDepartureBoatTerminal)
31KITINERARY_MAKE_PROPERTY(BoatTrip, QDateTime, departureTime, setDepartureTime)
32KITINERARY_MAKE_OPERATOR(BoatTrip)
33
34}
35
36#include "moc_boattrip.cpp"
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 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.