KDAV::DavUrl

KDAV::DavUrl Class Reference

#include <KDAV/DavUrl>

Public Types

typedef QVector< DavUrlList
 

Public Member Functions

 DavUrl ()
 
 DavUrl (const DavUrl &)
 
 DavUrl (DavUrl &&)
 
 DavUrl (const QUrl &url, Protocol protocol)
 
DavUrloperator= (const DavUrl &)
 
DavUrloperator= (DavUrl &&)
 
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 25 of file davurl.h.

Member Typedef Documentation

Defines a list of DAV URL objects.

Definition at line 31 of file davurl.h.

Constructor & Destructor Documentation

DavUrl::DavUrl ( )

Creates an empty DAV URL.

Definition at line 22 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 27 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 55 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 50 of file davurl.cpp.

void DavUrl::setUrl ( const QUrl url)

Sets the url that identifies the DAV object.

Definition at line 40 of file davurl.cpp.

QString DavUrl::toDisplayString ( ) const

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

Definition at line 60 of file davurl.cpp.

QUrl DavUrl::url ( ) const

Returns the URL that identifies the DAV object.

Definition at line 45 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 22:58:07 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.