KDAV::DavUrl

Search for usage in LXR

KDAV::DavUrl Class Reference

#include <KDAV/DavUrl>

Public Types

typedef QList< DavUrlList
 

Public Member Functions

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

Member Typedef Documentation

◆ List

Defines a list of DAV URL objects.

Definition at line 32 of file davurl.h.

Constructor & Destructor Documentation

◆ DavUrl() [1/2]

DavUrl::DavUrl ( )

Creates an empty DAV URL.

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

◆ setUrl()

void DavUrl::setUrl ( const QUrl & url)

Sets the url that identifies the DAV object.

Definition at line 40 of file davurl.cpp.

◆ toDisplayString()

QString DavUrl::toDisplayString ( ) const

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

Definition at line 60 of file davurl.cpp.

◆ url()

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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:16:34 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.