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

class DavCollection
(since 6.27.0) class DavCollectionCreateJob
class DavCollectionDeleteJob
class DavCollectionModifyJob
class DavCollectionsFetchJob
class DavCollectionsMultiFetchJob
class DavItem
class DavItemCreateJob
class DavItemDeleteJob
class DavItemFetchJob
class DavItemModifyJob
(since 6.30) class DavItemMoveJob
class DavItemsFetchJob
class DavItemsListJob
(since 6.31) class DavItemsSyncJob
class DavJobBase
class DavPrincipalHomeSetsFetchJob
class DavPrincipalSearchJob
(since 6.31) class DavPushDontNotify
(since 6.31) class DavPushRegistration
(since 6.31) class DavPushRegistrationJob
(since 6.29) class DavPushSupport
(since 6.29) class DavSslUiProxy
class DavUrl
class Error
class EtagCache

Types

(since 6.31) enum ErrorNumber { NO_ERR, ERR_PROBLEM_WITH_REQUEST, ERR_NO_MULTIGET, ERR_SERVER_UNRECOVERABLE, ERR_COLLECTIONCREATE, …, ERR_MALFORMED_RESPONSE }
enum Privilege { None, Read, Write, WriteProperties, WriteContent, …, All }
flags Privileges

Detailed Description

Namespaces

namespace KDAV::ProtocolInfo

Classes

class DavCollection

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

class DavCollectionCreateJob

A job to create a DAV collection on the DAV server. 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 DavItemMoveJob

A job to move a DAV item from one location to another. 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 DavItemsSyncJob

A job that uses the sync-token to fetch only new changes of 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 DavPushDontNotify

A helper class to store DavPush DontNotify data. More...

class DavPushRegistration

A class containing data for a DavPush registration. More...

class DavPushRegistrationJob

A job to register a DavPush subscription for a DAV collection. More...

class DavPushSupport

A helper class to store information about Support of DavPush. More...

class DavSslUiProxy

Interface to display SSL errors and requesting user input. 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

[since 6.31] 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_COLLECTIONCREATE (since 6.27)ERR_PROBLEM_WITH_REQUEST + 40
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_ITEMMOVEERR_PROBLEM_WITH_REQUEST + 140
KDAV::ERR_ITEMLIST_NOMIMETYPE441
KDAV::ERR_MALFORMED_RESPONSEERR_PROBLEM_WITH_REQUEST + 200

This enum was introduced in 6.31.

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.