KDAV2::DavUrl

Search for usage in LXR

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

◆ List

Defines a list of DAV url objects.

Definition at line 41 of file davurl.h.

Constructor & Destructor Documentation

◆ DavUrl() [1/2]

DavUrl::DavUrl ( )

Creates an empty DAV url.

Definition at line 26 of file davurl.cpp.

◆ DavUrl() [2/2]

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()

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.

◆ setProtocol()

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.

◆ setUrl()

void DavUrl::setUrl ( const QUrl & url)

Sets the url that identifies the DAV object.

Definition at line 36 of file davurl.cpp.

◆ toDisplayString()

QString DavUrl::toDisplayString ( ) const

Returns the url in a userfriendly way without login informations.

Definition at line 56 of file davurl.cpp.

◆ url()

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-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:32:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.