KDAV 5.109.0
|
A helper class to combine URL and protocol of a DAV URL. More...
#include <KDAV/DavUrl>
Public Types | |
typedef QVector< DavUrl > | List |
Defines a list of DAV URL objects. | |
Public Member Functions | |
DavUrl () | |
Creates an empty DAV URL. | |
DavUrl (const DavUrl &) | |
DavUrl (const QUrl &url, Protocol protocol) | |
Creates a new DAV URL. | |
DavUrl (DavUrl &&) | |
DavUrl & | operator= (const DavUrl &) |
DavUrl & | operator= (DavUrl &&) |
Protocol | protocol () const |
Returns the DAV protocol dialect that is used to retrieve the DAV object. | |
void | setProtocol (Protocol protocol) |
Sets 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. | |
A helper class to combine URL and protocol of a DAV URL.
typedef QVector<DavUrl> KDAV::DavUrl::List |
Defines a list of DAV URL objects.
KDAV::DavUrl::DavUrl | ( | ) |
Creates an empty DAV URL.
KDAV::DavUrl::DavUrl | ( | const QUrl & | url, |
Protocol | protocol | ||
) |
Creates a new DAV URL.
url | The URL that identifies the DAV object. |
protocol | The DAV protocol dialect that is used to retrieve the DAV object. |
Protocol KDAV::DavUrl::protocol | ( | ) | const |
Returns the DAV protocol dialect that is used to retrieve the DAV object.
void KDAV::DavUrl::setProtocol | ( | Protocol | protocol | ) |
Sets the DAV protocol
dialect that is used to retrieve the DAV object.
void KDAV::DavUrl::setUrl | ( | const QUrl & | url | ) |
Sets the url
that identifies the DAV object.
QString KDAV::DavUrl::toDisplayString | ( | ) | const |
Returns the URL in a user-friendly way without login information.
QUrl KDAV::DavUrl::url | ( | ) | const |
Returns the URL that identifies the DAV object.