10#include "kdav_export.h"
14#include <QSharedDataPointer>
32 typedef QVector<DavUrl>
List;
60 Q_REQUIRED_RESULT QUrl
url()
const;
78 QSharedDataPointer<DavUrlPrivate> d;
81KDAV_EXPORT QDataStream &operator<<(QDataStream &out,
const DavUrl &url);
82KDAV_EXPORT QDataStream &operator>>(QDataStream &in,
DavUrl &url);
A helper class to combine URL and protocol of a DAV URL.
Definition davurl.h:27
Protocol protocol() const
Returns the DAV protocol dialect that is used to retrieve the DAV object.
void setUrl(const QUrl &url)
Sets the url that identifies the DAV object.
QString toDisplayString() const
Returns the URL in a user-friendly way without login information.
QUrl url() const
Returns the URL that identifies the DAV object.
QVector< DavUrl > List
Defines a list of DAV URL objects.
Definition davurl.h:32
void setProtocol(Protocol protocol)
Sets the DAV protocol dialect that is used to retrieve the DAV object.
DavUrl(const QUrl &url, Protocol protocol)
Creates a new DAV URL.
DavUrl()
Creates an empty DAV URL.
The KDAV namespace.
Definition davjobbase.h:17
Protocol
Describes the DAV protocol dialect.
Definition enums.h:20