KItinerary

visit.cpp
1/*
2 SPDX-FileCopyrightText: 2018 Luca Beltrame <lbeltrame@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "visit.h"
8#include "datatypes_p.h"
9
10#include <QDateTime>
11
12using namespace KItinerary;
13
14namespace KItinerary {
15
16class TouristAttractionVisitPrivate: public QSharedData {
17
18public:
19 TouristAttraction touristAttraction;
20 QDateTime arrivalTime;
21 QDateTime departureTime;
22};
23
24KITINERARY_MAKE_CLASS(TouristAttractionVisit)
25KITINERARY_MAKE_PROPERTY(TouristAttractionVisit, TouristAttraction, touristAttraction, setTouristAttraction)
26KITINERARY_MAKE_PROPERTY(TouristAttractionVisit, QDateTime, arrivalTime, setArrivalTime)
27KITINERARY_MAKE_PROPERTY(TouristAttractionVisit, QDateTime, departureTime, setDepartureTime)
28KITINERARY_MAKE_OPERATOR(TouristAttractionVisit)
29
30}
31
32#include "moc_visit.cpp"
Tourist attraction (e.g.
Definition place.h:146
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 18 2024 12:09:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.