KDAV 5.109.0
Functions
KDAV::ProtocolInfo Namespace Reference

Information about a DAV protocol. More...

Functions

QString contactsMimeType (KDAV::Protocol protocol)
 Returns the mimetype that shall be used for contact DAV resources using protocol.
 
QString principalHomeSet (KDAV::Protocol protocol)
 Returns the principal home set of protocol.
 
QString principalHomeSetNS (KDAV::Protocol protocol)
 Returns the principal home set namespace of protocol.
 
KDAV::Protocol protocolByName (const QString &name)
 Returns the protocol matching the given name.
 
QString protocolName (KDAV::Protocol protocol)
 Returns the untranslated name of the given DAV protocol dialect.
 
bool useMultiget (KDAV::Protocol protocol)
 Returns whether the protocol dialect supports the MULTIGET command.
 

Detailed Description

Information about a DAV protocol.

Function Documentation

◆ contactsMimeType()

QString KDAV::ProtocolInfo::contactsMimeType ( KDAV::Protocol  protocol)

Returns the mimetype that shall be used for contact DAV resources using protocol.

◆ principalHomeSet()

QString KDAV::ProtocolInfo::principalHomeSet ( KDAV::Protocol  protocol)

Returns the principal home set of protocol.

◆ principalHomeSetNS()

QString KDAV::ProtocolInfo::principalHomeSetNS ( KDAV::Protocol  protocol)

Returns the principal home set namespace of protocol.

◆ protocolByName()

KDAV::Protocol KDAV::ProtocolInfo::protocolByName ( const QString &  name)

Returns the protocol matching the given name.

This is the opposite of ProtocolInfo::protocolName().

◆ protocolName()

QString KDAV::ProtocolInfo::protocolName ( KDAV::Protocol  protocol)

Returns the untranslated name of the given DAV protocol dialect.

◆ useMultiget()

bool KDAV::ProtocolInfo::useMultiget ( KDAV::Protocol  protocol)

Returns whether the protocol dialect supports the MULTIGET command.

If MULTIGET is supported, the content of all DAV resources can be fetched in Akonadi::ResourceBase::retrieveItems() already and there is no need to call Akonadi::ResourceBase::retrieveItem() for every single DAV resource.