KDAV Namespace

The KDAV namespace. More...

Header: #include <KDAV/Enums>
CMake: find_package(KF6 REQUIRED COMPONENTS DAV)
target_link_libraries(mytarget PRIVATE KF6::DAV)

Namespaces

namespace ProtocolInfo

Classes

Types

enum ErrorNumber { NO_ERR, ERR_PROBLEM_WITH_REQUEST, ERR_NO_MULTIGET, ERR_SERVER_UNRECOVERABLE, ERR_COLLECTIONDELETE, …, ERR_ITEMLIST_NOMIMETYPE }
enum Privilege { None, Read, Write, WriteProperties, WriteContent, …, All }
flags Privileges
enum Protocol { CalDav, CardDav, GroupDav }

Detailed Description

Namespaces

namespace KDAV::ProtocolInfo

Classes

class DavCollection

A helper class to store information about DAV collection. More...

class DavCollectionDeleteJob

A job that deletes a DAV collection. More...

class DavCollectionModifyJob

A job that modifies a DAV collection. More...

class DavCollectionsFetchJob

A job that fetches all DAV collection. More...

class DavCollectionsMultiFetchJob

A job that fetches all DAV collection. More...

class DavItem

A helper class to store information about DAV resources. More...

class DavItemCreateJob

A job to create a DAV item on the DAV server. More...

class DavItemDeleteJob

A job to delete a DAV item on the DAV server. More...

class DavItemFetchJob

A job that fetches a DAV item from the DAV server. More...

class DavItemModifyJob

A job that modifies a DAV item on the DAV server. More...

class DavItemsFetchJob

A job that fetches a list of items from a DAV server using a MULTIGET query. More...

class DavItemsListJob

A job that lists all DAV items inside a DAV collection. More...

class DavJobBase

base class for the jobs used by the resource. More...

class DavPrincipalHomeSetsFetchJob

A job that fetches home sets for a principal. More...

class DavPrincipalSearchJob

A job that search a DAV principal on a server. More...

class DavUrl

A helper class to combine URL and protocol of a DAV URL. More...

class Error

DAV operation error. More...

class EtagCache

A helper class to cache ETags. More...

Type Documentation

enum KDAV::ErrorNumber

DAV operation error codes.

ConstantValue
KDAV::NO_ERR0
KDAV::ERR_PROBLEM_WITH_REQUESTKJob::UserDefinedError + 200
KDAV::ERR_NO_MULTIGET301
KDAV::ERR_SERVER_UNRECOVERABLE302
KDAV::ERR_COLLECTIONDELETEERR_PROBLEM_WITH_REQUEST + 10
KDAV::ERR_COLLECTIONFETCHERR_PROBLEM_WITH_REQUEST + 20
KDAV::ERR_COLLECTIONFETCH_XQUERY_SETFOCUS321
KDAV::ERR_COLLECTIONFETCH_XQUERY_INVALID322
KDAV::ERR_COLLECTIONMODIFYERR_PROBLEM_WITH_REQUEST + 30
KDAV::ERR_COLLECTIONMODIFY_NO_PROPERITES331
KDAV::ERR_COLLECTIONMODIFY_RESPONSE332
KDAV::ERR_ITEMCREATEERR_PROBLEM_WITH_REQUEST + 100
KDAV::ERR_ITEMDELETEERR_PROBLEM_WITH_REQUEST + 110
KDAV::ERR_ITEMMODIFYERR_PROBLEM_WITH_REQUEST + 120
KDAV::ERR_ITEMLISTERR_PROBLEM_WITH_REQUEST + 130
KDAV::ERR_ITEMLIST_NOMIMETYPE431

enum KDAV::Privilege
flags KDAV::Privileges

Describes the DAV privileges on a resource (see RFC3744)

ConstantValue
KDAV::None0x0
KDAV::Read0x1
KDAV::Write0x2
KDAV::WriteProperties0x4
KDAV::WriteContent0x8
KDAV::Unlock0x10
KDAV::ReadAcl0x20
KDAV::ReadCurrentUserPrivilegeSet0x40
KDAV::WriteAcl0x80
KDAV::Bind0x100
KDAV::Unbind0x200
KDAV::All0x400

The Privileges type is a typedef for QFlags<Privilege>. It stores an OR combination of Privilege values.

enum KDAV::Protocol

Describes the DAV protocol dialect.

ConstantValueDescription
KDAV::CalDav0The CalDav protocol as defined in https://devguide.calconnect.org/CalDAV
KDAV::CardDav1The CardDav protocol as defined in https://devguide.calconnect.org/CardDAV
KDAV::GroupDav2The GroupDav protocol as defined in http://www.groupdav.org