23 : d(new DavItemPrivate)
28 : d(new DavItemPrivate)
40DavItem::~DavItem() =
default;
59 return d->mContentType;
86 stream << item.
data();
87 stream << item.
etag();
100 stream >> contentType;
104 item =
DavItem(url, contentType, data, etag);
A helper class to store information about DAV resources.
QString contentType() const
Returns the content type of the item.
DavUrl url() const
Returns the URL that identifies the item.
void setEtag(const QString &etag)
Sets the etag of the item.
QByteArray data() const
Returns the raw content data of the item.
DavItem()
Creates an empty DAV item.
void setUrl(const DavUrl &url)
Sets the url that identifies the item.
void setData(const QByteArray &data)
Sets the raw content data of the item.
QString etag() const
Returns the ETag of the item.
void setContentType(const QString &type)
Sets the content type of the item.
A helper class to combine URL and protocol of a DAV URL.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:53 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.