KDAV::ProtocolInfo Namespace
namespace KDAV::ProtocolInfoInformation about a DAV protocol. More...
Header: | #include <KDAV/ProtocolInfo> |
CMake: | find_package(KF6 REQUIRED COMPONENTS DAV) target_link_libraries(mytarget PRIVATE KF6::DAV) |
Functions
QString | contactsMimeType(KDAV::Protocol protocol) |
QString | principalHomeSet(KDAV::Protocol protocol) |
QString | principalHomeSetNS(KDAV::Protocol protocol) |
KDAV::Protocol | protocolByName(const QString &name) |
QString | protocolName(KDAV::Protocol protocol) |
bool | useMultiget(KDAV::Protocol protocol) |
Detailed Description
Function Documentation
QString ProtocolInfo::contactsMimeType(KDAV::Protocol protocol)
Returns the mimetype that shall be used for contact DAV resources using protocol.
QString ProtocolInfo::principalHomeSet(KDAV::Protocol protocol)
Returns the principal home set of protocol.
QString ProtocolInfo::principalHomeSetNS(KDAV::Protocol protocol)
Returns the principal home set namespace of protocol.
KDAV::Protocol ProtocolInfo::protocolByName(const QString &name)
Returns the protocol matching the given name. This is the opposite of ProtocolInfo::protocolName().
QString ProtocolInfo::protocolName(KDAV::Protocol protocol)
Returns the untranslated name of the given DAV protocol dialect.
bool 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.