Attica
10#ifndef ATTICA_PLATFORMDEPENDENT_H
11#define ATTICA_PLATFORMDEPENDENT_H
26class PlatformDependent
29 virtual ~PlatformDependent()
32 virtual QList<QUrl> getDefaultProviderFiles()
const = 0;
33 virtual void addDefaultProviderFile(
const QUrl &url) = 0;
34 virtual void removeDefaultProviderFile(
const QUrl &url) = 0;
39 virtual void enableProvider(
const QUrl &baseUrl,
bool enabled)
const = 0;
40 virtual bool isEnabled(
const QUrl &baseUrl)
const = 0;
45 virtual bool hasCredentials(
const QUrl &baseUrl)
const = 0;
51 virtual bool loadCredentials(
const QUrl &baseUrl, QString &user, QString &password) = 0;
59 virtual bool askForCredentials(
const QUrl &baseUrl, QString &user, QString &password) = 0;
67 virtual bool saveCredentials(
const QUrl &baseUrl,
const QString &user,
const QString &password) = 0;
69 virtual QNetworkReply *get(
const QNetworkRequest &request) = 0;
70 virtual QNetworkReply *post(
const QNetworkRequest &request, QIODevice *data) = 0;
71 virtual QNetworkReply *post(
const QNetworkRequest &request,
const QByteArray &data) = 0;
72 virtual void setNam(QNetworkAccessManager *)
75 virtual QNetworkAccessManager *nam() = 0;
80Q_DECLARE_INTERFACE(Attica::PlatformDependent,
"org.kde.Attica.Internals/1.2")
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:04 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.