KDAV2::DavUrl

KDAV2::DavUrl Class Reference

#include <davurl.h>

Public Types

typedef QVector< DavUrlList
 

Public Member Functions

 DavUrl ()
 
 DavUrl (const QUrl &url, Protocol protocol)
 
Protocol protocol () const
 
void setProtocol (Protocol protocol)
 
void setUrl (const QUrl &url)
 
QString toDisplayString () const
 
QUrl url () const
 

Detailed Description

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

Definition at line 35 of file davurl.h.

Member Typedef Documentation

Defines a list of DAV url objects.

Definition at line 41 of file davurl.h.

Constructor & Destructor Documentation

DavUrl::DavUrl ( )

Creates an empty DAV url.

Definition at line 26 of file davurl.cpp.

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.

Definition at line 31 of file davurl.cpp.

Member Function Documentation

Protocol DavUrl::protocol ( ) const

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

Definition at line 51 of file davurl.cpp.

void DavUrl::setProtocol ( Protocol  protocol)

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

Definition at line 46 of file davurl.cpp.

void DavUrl::setUrl ( const QUrl url)

Sets the url that identifies the DAV object.

Definition at line 36 of file davurl.cpp.

QString DavUrl::toDisplayString ( ) const

Returns the url in a userfriendly way without login informations.

Definition at line 56 of file davurl.cpp.

QUrl DavUrl::url ( ) const

Returns the url that identifies the DAV object.

Definition at line 41 of file davurl.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Dec 3 2020 23:20:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.