KItinerary

creativework.cpp
1/*
2 SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "creativework.h"
8#include "datatypes_p.h"
9
10using namespace KItinerary;
11
12namespace KItinerary {
13
14class CreativeWorkPrivate : public QSharedData
15{
16 KITINERARY_PRIVATE_BASE_GADGET(CreativeWork)
17public:
18 QString name;
19 QString description;
20 QString encodingFormat;
21};
22
23KITINERARY_MAKE_CLASS(CreativeWork)
24KITINERARY_MAKE_PROPERTY(CreativeWork, QString, name, setName)
25KITINERARY_MAKE_PROPERTY(CreativeWork, QString, description, setDescription)
26KITINERARY_MAKE_PROPERTY(CreativeWork, QString, encodingFormat, setEncodingFormat)
27KITINERARY_MAKE_OPERATOR(CreativeWork)
28
29class DigitalDocumentPrivate : public CreativeWorkPrivate
30{
31 KITINERARY_PRIVATE_GADGET(DigitalDocument)
32};
33KITINERARY_MAKE_DERIVED_CLASS(DigitalDocument, CreativeWork)
34KITINERARY_MAKE_OPERATOR(DigitalDocument)
35
36class EmailMessagePrivate : public CreativeWorkPrivate
37{
38 KITINERARY_PRIVATE_GADGET(EmailMessage)
39};
40KITINERARY_MAKE_DERIVED_CLASS(EmailMessage, CreativeWork)
41KITINERARY_MAKE_OPERATOR(EmailMessage)
42
43}
44
45template <>
47{
48 return d->clone();
49}
50
51#include "moc_creativework.cpp"
Base type describing any form of content.
Description of a document.
Description of an email.
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.