KItinerary

rentalcar.h
1/*
2 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "kitinerary_export.h"
10#include "datatypes.h"
11#include "organization.h"
12#include "brand.h"
13
14namespace KItinerary {
15
16class RentalCarPrivate;
17
18/** A car rental.
19 * @see https://developers.google.com/gmail/markup/reference/rental-car
20 */
21class KITINERARY_EXPORT RentalCar
22{
23 KITINERARY_GADGET(RentalCar)
24 KITINERARY_PROPERTY(QString, name, setName)
25 KITINERARY_PROPERTY(QString, model, setModel)
26 KITINERARY_PROPERTY(KItinerary::Organization, rentalCompany, setRentalCompany)
27 KITINERARY_PROPERTY(KItinerary::Brand, brand, setBrand)
28
29private:
31};
32
33}
34
35Q_DECLARE_METATYPE(KItinerary::RentalCar)
36
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 Fri Oct 11 2024 12:14:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.