File indexing completed on 2024-11-17 04:44:46

0001 /*
0002     SPDX-FileCopyrightText: 2015-2016 Krzysztof Nowicki <krissn@op.pl>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "ewscreatecalendarjob.h"
0008 
0009 #include "ewsresource_debug.h"
0010 
0011 EwsCreateCalendarJob::EwsCreateCalendarJob(EwsClient &client,
0012                                            const Akonadi::Item &item,
0013                                            const Akonadi::Collection &collection,
0014                                            EwsTagStore *tagStore,
0015                                            EwsResource *parent)
0016     : EwsCreateItemJob(client, item, collection, tagStore, parent)
0017 {
0018 }
0019 
0020 EwsCreateCalendarJob::~EwsCreateCalendarJob() = default;
0021 
0022 void EwsCreateCalendarJob::doStart()
0023 {
0024     qCWarning(EWSRES_LOG) << QStringLiteral("Calendar item creation not implemented!");
0025     emitResult();
0026 }
0027 
0028 bool EwsCreateCalendarJob::setSend(bool send)
0029 {
0030     Q_UNUSED(send)
0031 
0032     qCWarning(EWSRES_LOG) << QStringLiteral("Sending calendar items is not supported!");
0033     return false;
0034 }
0035 
0036 #include "moc_ewscreatecalendarjob.cpp"