KItinerary

person.cpp
1/*
2 SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "person.h"
8#include "datatypes_p.h"
9
10using namespace KItinerary;
11
12namespace KItinerary {
13
14class PersonPrivate : public QSharedData
15{
16public:
17 QString name;
18 QString email;
19 QString familyName;
20 QString givenName;
21};
22
23KITINERARY_MAKE_CLASS(Person)
24KITINERARY_MAKE_PROPERTY(Person, QString, name, setName)
25KITINERARY_MAKE_PROPERTY(Person, QString, email, setEmail)
26KITINERARY_MAKE_PROPERTY(Person, QString, familyName, setFamilyName)
27KITINERARY_MAKE_PROPERTY(Person, QString, givenName, setGivenName)
28KITINERARY_MAKE_OPERATOR(Person)
29
30}
31
32#include "moc_person.cpp"
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 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.