Warning, file /frameworks/attica/src/deletejob.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 This file is part of KDE. 0003 0004 SPDX-FileCopyrightText: 2011 Laszlo Papp <djszapi@archlinux.us> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #include "deletejob.h" 0010 0011 #include <QNetworkAccessManager> 0012 0013 #include "platformdependent_v2.h" 0014 0015 using namespace Attica; 0016 0017 DeleteJob::DeleteJob(PlatformDependent *internals, const QNetworkRequest &request) 0018 : BaseJob(internals) 0019 , m_request(request) 0020 { 0021 } 0022 0023 QNetworkReply *DeleteJob::executeRequest() 0024 { 0025 Attica::PlatformDependentV2 *platformDependentV2 = dynamic_cast<Attica::PlatformDependentV2 *>(internals()); 0026 if (!platformDependentV2) { 0027 return nullptr; 0028 } 0029 0030 return platformDependentV2->deleteResource(m_request); 0031 } 0032 0033 #include "moc_deletejob.cpp"