KDAV::ProtocolInfo

KDAV::ProtocolInfo Namespace Reference

Functions

KDAV_EXPORT QString contactsMimeType (KDAV::Protocol protocol)
 
KDAV_EXPORT QString principalHomeSet (KDAV::Protocol protocol)
 
KDAV_EXPORT QString principalHomeSetNS (KDAV::Protocol protocol)
 
KDAV_EXPORT KDAV::Protocol protocolByName (const QString &name)
 
KDAV_EXPORT QString protocolName (KDAV::Protocol protocol)
 
KDAV_EXPORT bool useMultiget (KDAV::Protocol protocol)
 

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.

Definition at line 59 of file protocolinfo.cpp.

◆ principalHomeSet()

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

Returns the principal home set of protocol.

Definition at line 19 of file protocolinfo.cpp.

◆ principalHomeSetNS()

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

Returns the principal home set namespace of protocol.

Definition at line 24 of file protocolinfo.cpp.

◆ protocolByName()

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

Returns the protocol matching the given name.

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

Definition at line 42 of file protocolinfo.cpp.

◆ protocolName()

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

Returns the untranslated name of the given DAV protocol dialect.

Definition at line 29 of file protocolinfo.cpp.

◆ 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.

Definition at line 14 of file protocolinfo.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:52:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.