KDAV 5.109.0
|
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. | |
Information about a DAV protocol.
QString KDAV::ProtocolInfo::contactsMimeType | ( | KDAV::Protocol | protocol | ) |
Returns the mimetype that shall be used for contact DAV resources using protocol
.
QString KDAV::ProtocolInfo::principalHomeSet | ( | KDAV::Protocol | protocol | ) |
Returns the principal home set of protocol
.
QString KDAV::ProtocolInfo::principalHomeSetNS | ( | KDAV::Protocol | protocol | ) |
Returns the principal home set namespace of protocol
.
KDAV::Protocol KDAV::ProtocolInfo::protocolByName | ( | const QString & | name | ) |
Returns the protocol matching the given name.
This is the opposite of ProtocolInfo::protocolName().
QString KDAV::ProtocolInfo::protocolName | ( | KDAV::Protocol | protocol | ) |
Returns the untranslated name of the given DAV protocol
dialect.
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.