KItinerary

person.h
1 /*
2  SPDX-FileCopyrightText: 2018 Volker Krause <[email protected]>
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 
12 namespace KItinerary {
13 
14 class PersonPrivate;
15 
16 /** A person
17  * @see https://schema.org/Person
18  */
19 class KITINERARY_EXPORT Person
20 {
21  KITINERARY_GADGET(Person)
22  KITINERARY_PROPERTY(QString, name, setName)
23  KITINERARY_PROPERTY(QString, email, setEmail)
24  KITINERARY_PROPERTY(QString, familyName, setFamilyName)
25  KITINERARY_PROPERTY(QString, givenName, setGivenName)
26 private:
28 };
29 
30 }
31 
32 Q_DECLARE_METATYPE(KItinerary::Person)
33 
Classes for reservation/travel data models, data extraction and data augmentation.
const QLatin1String name
A person.
Definition: person.h:19
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jan 17 2022 23:06:16 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.