File indexing completed on 2024-12-22 04:57:00
0001 /* 0002 SPDX-FileCopyrightText: 2015-2016 Krzysztof Nowicki <krissn@op.pl> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QDateTime> 0010 #include <QMetaType> 0011 #include <QSharedDataPointer> 0012 0013 #include "ewstypes.h" 0014 0015 class EwsAttendeePrivate; 0016 class EwsMailbox; 0017 class QXmlStreamReader; 0018 0019 class EwsAttendee 0020 { 0021 public: 0022 typedef QList<EwsAttendee> List; 0023 0024 EwsAttendee(); 0025 explicit EwsAttendee(QXmlStreamReader &reader); 0026 EwsAttendee(const EwsAttendee &other); 0027 EwsAttendee(EwsAttendee &&other); 0028 virtual ~EwsAttendee(); 0029 0030 EwsAttendee &operator=(const EwsAttendee &other); 0031 EwsAttendee &operator=(EwsAttendee &&other); 0032 0033 bool isValid() const; 0034 const EwsMailbox &mailbox() const; 0035 EwsEventResponseType response() const; 0036 QDateTime responseTime() const; 0037 0038 protected: 0039 QSharedDataPointer<EwsAttendeePrivate> d; 0040 }; 0041 0042 Q_DECLARE_METATYPE(EwsAttendee) 0043 Q_DECLARE_METATYPE(EwsAttendee::List)