KItinerary

person.h
1/*
2 SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@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
12namespace KItinerary {
13
14class PersonPrivate;
15
16/** A person
17 * @see https://schema.org/Person
18 */
19class 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)
26private:
28};
29
30}
31
32Q_DECLARE_METATYPE(KItinerary::Person)
33
A person.
Definition person.h:20
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 18 2024 12:09:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.