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 
25 namespace Attica
26 {
27 class PlatformDependentV2 : public PlatformDependent
28 {
29 public:
30  ~PlatformDependentV2() override;
31  virtual QNetworkReply *deleteResource(const QNetworkRequest &request) = 0;
32  virtual QNetworkReply *put(const QNetworkRequest &request, QIODevice *data) = 0;
33  virtual QNetworkReply *put(const QNetworkRequest &request, const QByteArray &data) = 0;
34 };
35 
36 }
37 
38 Q_DECLARE_INTERFACE(Attica::PlatformDependentV2, "org.kde.Attica.InternalsV2/1.2")
39 
40 #endif
The Attica namespace,.
virtual bool put(ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName, const QVariant &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.