File indexing completed on 2024-11-24 04:43:50

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 "ewscreatetaskjob.h"
0008 
0009 #include "ewsresource_debug.h"
0010 
0011 EwsCreateTaskJob::EwsCreateTaskJob(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 EwsCreateTaskJob::~EwsCreateTaskJob() = default;
0021 
0022 void EwsCreateTaskJob::doStart()
0023 {
0024     qCWarning(EWSRES_LOG) << QStringLiteral("Task item creation not implemented!");
0025     emitResult();
0026 }
0027 
0028 bool EwsCreateTaskJob::setSend(bool send)
0029 {
0030     Q_UNUSED(send)
0031 
0032     qCWarning(EWSRES_LOG) << QStringLiteral("Sending task items is not supported!");
0033     return false;
0034 }
0035 
0036 #include "moc_ewscreatetaskjob.cpp"