Libkdav2
davmanager.cpp
63 mWebDav->setConnectionSettings(url.scheme() == "https" ? QWebdav::HTTPS : QWebdav::HTTP, url.host(), "/", url.userName(), url.password(), url.port(0), mIgnoreSslErrors);
66DavJob *DavManager::createPropFindJob(const QUrl &url, const QDomDocument &document, const QString &depth)
73DavJob *DavManager::createReportJob(const QUrl &url, const QDomDocument &document, const QString &depth)
105DavJob *DavManager::createCreateJob(const QByteArray &data, const QUrl &url, const QByteArray &contentType)
108 auto reply = mWebDav->put(url.path(), data, {{"Content-Type", contentType}, {"If-None-Match", "*"}});
112DavJob *DavManager::createModifyJob(const QByteArray &data, const QUrl &url, const QByteArray &contentType, const QByteArray &etag)
115 auto reply = mWebDav->put(url.path(), data, {{"Content-Type", contentType}, {"If-Match", etag}});
DavJob * createPropFindJob(const QUrl &url, const QDomDocument &document, const QString &depth=QStringLiteral("1"))
Returns a preconfigured DAV PROPFIND job.
Definition davmanager.cpp:66
DavJob * createModifyJob(const QByteArray &data, const QUrl &url, const QByteArray &contentType, const QByteArray &etag)
Returns a preconfigured DAV PUT job with a If-Match header, that matches the.
Definition davmanager.cpp:112
DavJob * createMkColJob(const QUrl &url)
Returns a preconfigured DAV MKCOL job.
Definition davmanager.cpp:119
DavJob * createGetJob(const QUrl &url)
Returns a preconfigured DAV GET job.
Definition davmanager.cpp:88
static DavManager * self()
Returns the global instance of the DAV manager.
Definition davmanager.cpp:52
DavJob * createDeleteJob(const QUrl &url)
Returns a preconfigured DAV DELETE job.
Definition davmanager.cpp:80
DavJob * createReportJob(const QUrl &url, const QDomDocument &document, const QString &depth=QStringLiteral("1"))
Returns a preconfigured DAV REPORT job.
Definition davmanager.cpp:73
const DavProtocolBase * davProtocol(Protocol protocol)
Returns the DAV protocol dialect object for the given DAV protocol.
Definition davmanager.cpp:140
DavJob * createCreateJob(const QByteArray &data, const QUrl &url, const QByteArray &contentType)
Returns a preconfigured DAV PUT job with a If-None-Match header.
Definition davmanager.cpp:105
DavJob * createPropPatchJob(const QUrl &url, const QDomDocument &document)
Returns a preconfigured DAV PROPPATCH job.
Definition davmanager.cpp:98
DavJob * createMkCalendarJob(const QUrl &url, const QDomDocument &document)
Returns a preconfigured DAV MKCALENDAR job.
Definition davmanager.cpp:133
static QNetworkAccessManager * networkAccessManager()
Provides access to the internally used network access manager.
Definition davmanager.cpp:173
QByteArray toByteArray(int indent) const const
bool contains(const Key &key) const const
iterator insert(const Key &key, const T &value)
bool hasNext() const const
Item next()
const T & value() const const
int toInt(bool *ok, int base) const const
QString host(ComponentFormattingOptions options) const const
QString password(ComponentFormattingOptions options) const const
QString path(ComponentFormattingOptions options) const const
int port(int defaultPort) const const
QString scheme() const const
QString userName(ComponentFormattingOptions options) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.