KDAV2::Utils
KDAV2::Utils Namespace Reference
Functions | |
QString KPIMKDAV2_EXPORT | contactsMimeType (Protocol protocol) |
QString KPIMKDAV2_EXPORT | createUniqueId () |
bool | extractCollection (const QDomElement &response, DavUrl url, DavCollection &collection) |
Privileges KPIMKDAV2_EXPORT | extractPrivileges (const QDomElement &element) |
QDomElement KPIMKDAV2_EXPORT | firstChildElementNS (const QDomElement &parent, const QString &namespaceUri, const QString &tagName) |
QDomElement KPIMKDAV2_EXPORT | nextSiblingElementNS (const QDomElement &element, const QString &namespaceUri, const QString &tagName) |
Privileges KPIMKDAV2_EXPORT | parsePrivilege (const QDomElement &element) |
Protocol KPIMKDAV2_EXPORT | protocolByName (const QString &name) |
QLatin1String KPIMKDAV2_EXPORT | protocolName (Protocol protocol) |
Detailed Description
A namespace that contains helper methods for DAV functionality.
Function Documentation
◆ contactsMimeType()
QString KDAV2::Utils::contactsMimeType | ( | Protocol | protocol | ) |
◆ createUniqueId()
QString KDAV2::Utils::createUniqueId | ( | ) |
◆ extractCollection()
bool KDAV2::Utils::extractCollection | ( | const QDomElement & | response, |
DavUrl | url, | ||
DavCollection & | collection ) |
Extract a DavCollection from the response element of a PROPFIND result.
- Returns
- false if a collection could not be extracted.
◆ extractPrivileges()
Privileges KDAV2::Utils::extractPrivileges | ( | const QDomElement & | element | ) |
◆ firstChildElementNS()
QDomElement KDAV2::Utils::firstChildElementNS | ( | const QDomElement & | parent, |
const QString & | namespaceUri, | ||
const QString & | tagName ) |
◆ nextSiblingElementNS()
QDomElement KDAV2::Utils::nextSiblingElementNS | ( | const QDomElement & | element, |
const QString & | namespaceUri, | ||
const QString & | tagName ) |
◆ parsePrivilege()
Privileges KDAV2::Utils::parsePrivilege | ( | const QDomElement & | element | ) |
◆ protocolByName()
Protocol KDAV2::Utils::protocolByName | ( | const QString & | name | ) |
Returns the protocol matching the given name.
This is the opposite of Utils::protocolName().
◆ protocolName()
QLatin1String KDAV2::Utils::protocolName | ( | Protocol | protocol | ) |
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:11:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:11:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.