Attica

platformdependent_v2.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2011 Laszlo Papp <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8 
9 #ifndef ATTICA_PLATFORMDEPENDENT_V2_H
10 #define ATTICA_PLATFORMDEPENDENT_V2_H
11 
12 #include <QList>
13 #include <QtPlugin>
14 
15 #include <platformdependent.h>
16 
17 class QByteArray;
18 class QIODevice;
20 class QNetworkReply;
21 class QNetworkRequest;
22 class QString;
23 class QUrl;
24 class QStringList;
25 
26 namespace Attica
27 {
28 
29 class PlatformDependentV2: public PlatformDependent
30 {
31 public:
32  virtual ~PlatformDependentV2();
33  virtual QNetworkReply *deleteResource(const QNetworkRequest &request) = 0;
34  virtual QNetworkReply *put(const QNetworkRequest &request, QIODevice *data) = 0;
35  virtual QNetworkReply *put(const QNetworkRequest &request, const QByteArray &data) = 0;
36 };
37 
38 }
39 
40 Q_DECLARE_INTERFACE(Attica::PlatformDependentV2, "org.kde.Attica.InternalsV2/1.2")
41 
42 #endif
KIOCORE_EXPORT TransferJob * put(const QUrl &url, int permissions, JobFlags flags=DefaultFlags)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:06:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.