KDAV
davitemmodifyjob.cpp
48 KIO::StoredTransferJob *job = KIO::storedPut(d->mItem.data(), itemUrl(), -1, KIO::HideProgressInfo | KIO::DefaultFlags);
113 const QStringList allHeaders = storedJob->queryMetaData(QStringLiteral("HTTP-Headers")).split(QLatin1Char('\n'));
A job that fetches a DAV item from the DAV server.
Definition davitemfetchjob.h:26
DavItem item() const
Returns the fetched item including current ETag information.
Definition davitemfetchjob.cpp:66
A job that modifies a DAV item on the DAV server.
Definition davitemmodifyjob.h:26
DavItem item() const
Returns the modified item including the updated ETag information.
Definition davitemmodifyjob.cpp:59
DavItemModifyJob(const DavItem &item, QObject *parent=nullptr)
Creates a new DAV item modify job.
Definition davitemmodifyjob.cpp:33
int freshResponseCode() const
Returns the response code we got when fetching the fresh item.
Definition davitemmodifyjob.cpp:71
DavItem freshItem() const
Returns the item that triggered the conflict, if any.
Definition davitemmodifyjob.cpp:65
Protocol protocol() const
Returns the DAV protocol dialect that is used to retrieve the DAV object.
Definition davurl.cpp:55
void addMetaData(const QMap< QString, QString > &values)
QString queryMetaData(const QString &key)
const QUrl & url() const
int error() const
void result(KJob *job)
QString errorText() const
KIOCORE_EXPORT StoredTransferJob * storedPut(const QByteArray &arr, const QUrl &url, int permissions, JobFlags flags=DefaultFlags)
DefaultFlags
HideProgressInfo
QVariant location(const QVariant &res)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool isEmpty() const const
QStringList split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
int toInt(bool *ok, int base) const const
CaseInsensitive
TolerantMode
QUrl fromUserInput(const QString &userInput, const QString &workingDirectory, UserInputResolutionOptions options)
void setPath(const QString &path, ParsingMode mode)
void setUserInfo(const QString &userInfo, ParsingMode mode)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.