KItinerary

rentalcar.cpp
1/*
2 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "rentalcar.h"
8#include "datatypes_p.h"
9
10#include <QDateTime>
11#include <QUrl>
12
13using namespace KItinerary;
14
15namespace KItinerary {
16
17class RentalCarPrivate: public QSharedData {
18
19public:
20 QString name;
21 QString model;
22 Organization rentalCompany;
23 Brand brand;
24};
25
26KITINERARY_MAKE_CLASS(RentalCar)
27KITINERARY_MAKE_PROPERTY(RentalCar, QString, name, setName)
28KITINERARY_MAKE_PROPERTY(RentalCar, QString, model, setModel)
29KITINERARY_MAKE_PROPERTY(RentalCar, Organization, rentalCompany, setRentalCompany)
30KITINERARY_MAKE_PROPERTY(RentalCar, Brand, brand, setBrand)
31KITINERARY_MAKE_OPERATOR(RentalCar)
32}
33
34#include "moc_rentalcar.cpp"
A brand.
Definition brand.h:20
A car rental.
Definition rentalcar.h:22
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.