File indexing completed on 2024-12-29 04:49:57

0001 /*
0002     SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "rentalcar.h"
0008 #include "datatypes_p.h"
0009 
0010 #include <QDateTime>
0011 #include <QUrl>
0012 
0013 using namespace KItinerary;
0014 
0015 namespace KItinerary {
0016 
0017 class RentalCarPrivate: public QSharedData {
0018 
0019 public:
0020     QString name;
0021     QString model;
0022     Organization rentalCompany;
0023     Brand brand;
0024 };
0025 
0026 KITINERARY_MAKE_CLASS(RentalCar)
0027 KITINERARY_MAKE_PROPERTY(RentalCar, QString, name, setName)
0028 KITINERARY_MAKE_PROPERTY(RentalCar, QString, model, setModel)
0029 KITINERARY_MAKE_PROPERTY(RentalCar, Organization, rentalCompany, setRentalCompany)
0030 KITINERARY_MAKE_PROPERTY(RentalCar, Brand, brand, setBrand)
0031 KITINERARY_MAKE_OPERATOR(RentalCar)
0032 }
0033 
0034 #include "moc_rentalcar.cpp"