File indexing completed on 2024-12-29 04:49:57

0001 /*
0002     SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "person.h"
0008 #include "datatypes_p.h"
0009 
0010 using namespace KItinerary;
0011 
0012 namespace KItinerary {
0013 
0014 class PersonPrivate : public QSharedData
0015 {
0016 public:
0017     QString name;
0018     QString email;
0019     QString familyName;
0020     QString givenName;
0021 };
0022 
0023 KITINERARY_MAKE_CLASS(Person)
0024 KITINERARY_MAKE_PROPERTY(Person, QString, name, setName)
0025 KITINERARY_MAKE_PROPERTY(Person, QString, email, setEmail)
0026 KITINERARY_MAKE_PROPERTY(Person, QString, familyName, setFamilyName)
0027 KITINERARY_MAKE_PROPERTY(Person, QString, givenName, setGivenName)
0028 KITINERARY_MAKE_OPERATOR(Person)
0029 
0030 }
0031 
0032 #include "moc_person.cpp"