Incidenceeditor

attendeedata.cpp
1/*
2 SPDX-FileCopyrightText: 2010 Casey Link <unnamedrambler@gmail.com>
3 SPDX-FileCopyrightText: 2009-2010 Klaralvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#include "attendeedata.h"
9
10using namespace IncidenceEditorNG;
11
12void AttendeeData::clear()
13{
16 setRole(Attendee::ReqParticipant);
17 setStatus(Attendee::None);
18 setRSVP(false);
19 setUid(QString());
20}
21
22bool AttendeeData::isEmpty() const
23{
24 return name().isEmpty() && email().isEmpty();
25}
26
27KCalendarCore::Attendee AttendeeData::attendee() const
28{
29 return KCalendarCore::Attendee(*this);
30}
QString name() const
void setStatus(PartStat status)
void setUid(const QString &uid)
void setName(const QString &name)
void setRole(Role role)
void setEmail(const QString &email)
void setRSVP(bool rsvp)
QString email() const
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.