KDAV 5.109.0
Public Types | Public Member Functions | List of all members
KDAV::DavUrl

A helper class to combine URL and protocol of a DAV URL. More...

#include <KDAV/DavUrl>

Public Types

typedef QVector< DavUrlList
 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 &&)
 
DavUrloperator= (const DavUrl &)
 
DavUrloperator= (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.
 

Detailed Description

A helper class to combine URL and protocol of a DAV URL.

Member Typedef Documentation

◆ List

typedef QVector<DavUrl> KDAV::DavUrl::List

Defines a list of DAV URL objects.

Constructor & Destructor Documentation

◆ DavUrl() [1/2]

KDAV::DavUrl::DavUrl ( )

Creates an empty DAV URL.

◆ DavUrl() [2/2]

KDAV::DavUrl::DavUrl ( const QUrl &  url,
Protocol  protocol 
)

Creates a new DAV URL.

Parameters
urlThe URL that identifies the DAV object.
protocolThe DAV protocol dialect that is used to retrieve the DAV object.

Member Function Documentation

◆ protocol()

Protocol KDAV::DavUrl::protocol ( ) const

Returns the DAV protocol dialect that is used to retrieve the DAV object.

◆ setProtocol()

void KDAV::DavUrl::setProtocol ( Protocol  protocol)

Sets the DAV protocol dialect that is used to retrieve the DAV object.

◆ setUrl()

void KDAV::DavUrl::setUrl ( const QUrl &  url)

Sets the url that identifies the DAV object.

◆ toDisplayString()

QString KDAV::DavUrl::toDisplayString ( ) const

Returns the URL in a user-friendly way without login information.

◆ url()

QUrl KDAV::DavUrl::url ( ) const

Returns the URL that identifies the DAV object.