Libkdav2
davitemcreatejob.cpp
37 auto job = DavManager::self()->createCreateJob(mItem.data(), itemUrl(), mItem.contentType().toLatin1());
DavItem item() const
Returns the created DAV item including the correct identifier url and current etag information.
Definition davitemcreatejob.cpp:41
DavItemCreateJob(const DavItem &item, QObject *parent=nullptr)
Creates a new dav item create job.
Definition davitemcreatejob.cpp:30
DavItem item() const
Returns the fetched item including current etag information.
Definition davitemfetchjob.cpp:38
void setErrorFromJob(DavJob *, ErrorNumber jobErrorCode=ERR_PROBLEM_WITH_REQUEST)
Set the error of this job from a failed DavJob (executed by this job).
Definition davjobbase.cpp:99
static DavManager * self()
Returns the global instance of the DAV manager.
Definition davmanager.cpp:52
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
void emitResult()
int error() const
void result(KJob *job)
QObject(QObject *parent)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
T qobject_cast(QObject *object)
void setUrl(const QString &url, ParsingMode parsingMode)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.