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 #pragma once
0008 
0009 #include "kitinerary_export.h"
0010 #include "datatypes.h"
0011 #include "organization.h"
0012 #include "brand.h"
0013 
0014 namespace KItinerary {
0015 
0016 class RentalCarPrivate;
0017 
0018 /** A car rental.
0019  *  @see https://developers.google.com/gmail/markup/reference/rental-car
0020  */
0021 class KITINERARY_EXPORT RentalCar
0022 {
0023     KITINERARY_GADGET(RentalCar)
0024     KITINERARY_PROPERTY(QString, name, setName)
0025     KITINERARY_PROPERTY(QString, model, setModel)
0026     KITINERARY_PROPERTY(KItinerary::Organization, rentalCompany, setRentalCompany)
0027     KITINERARY_PROPERTY(KItinerary::Brand, brand, setBrand)
0028 
0029 private:
0030     QExplicitlySharedDataPointer<RentalCarPrivate> d;
0031 };
0032 
0033 }
0034 
0035 Q_DECLARE_METATYPE(KItinerary::RentalCar)
0036