File indexing completed on 2024-11-24 04:43:43
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 "ewscreatecontactjob.h" 0008 0009 #include "ewsresource_debug.h" 0010 0011 EwsCreateContactJob::EwsCreateContactJob(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 EwsCreateContactJob::~EwsCreateContactJob() = default; 0021 0022 void EwsCreateContactJob::doStart() 0023 { 0024 qCWarning(EWSRES_LOG) << QStringLiteral("Contact item creation not implemented!"); 0025 emitResult(); 0026 } 0027 0028 bool EwsCreateContactJob::setSend(bool send) 0029 { 0030 Q_UNUSED(send) 0031 0032 qCWarning(EWSRES_LOG) << QStringLiteral("Sending contact items is not supported!"); 0033 return false; 0034 } 0035 0036 #include "moc_ewscreatecontactjob.cpp"