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 |
class | DavCollectionDeleteJob |
class | DavCollectionModifyJob |
class | DavCollectionsFetchJob |
class | DavCollectionsMultiFetchJob |
class | DavItem |
class | DavItemCreateJob |
class | DavItemDeleteJob |
class | DavItemFetchJob |
class | DavItemModifyJob |
class | DavItemsFetchJob |
class | DavItemsListJob |
class | DavJobBase |
class | DavPrincipalHomeSetsFetchJob |
class | DavPrincipalSearchJob |
class | DavUrl |
class | Error |
class | EtagCache |
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.
Constant | Value |
---|---|
KDAV::NO_ERR | 0 |
KDAV::ERR_PROBLEM_WITH_REQUEST | KJob::UserDefinedError + 200 |
KDAV::ERR_NO_MULTIGET | 301 |
KDAV::ERR_SERVER_UNRECOVERABLE | 302 |
KDAV::ERR_COLLECTIONDELETE | ERR_PROBLEM_WITH_REQUEST + 10 |
KDAV::ERR_COLLECTIONFETCH | ERR_PROBLEM_WITH_REQUEST + 20 |
KDAV::ERR_COLLECTIONFETCH_XQUERY_SETFOCUS | 321 |
KDAV::ERR_COLLECTIONFETCH_XQUERY_INVALID | 322 |
KDAV::ERR_COLLECTIONMODIFY | ERR_PROBLEM_WITH_REQUEST + 30 |
KDAV::ERR_COLLECTIONMODIFY_NO_PROPERITES | 331 |
KDAV::ERR_COLLECTIONMODIFY_RESPONSE | 332 |
KDAV::ERR_ITEMCREATE | ERR_PROBLEM_WITH_REQUEST + 100 |
KDAV::ERR_ITEMDELETE | ERR_PROBLEM_WITH_REQUEST + 110 |
KDAV::ERR_ITEMMODIFY | ERR_PROBLEM_WITH_REQUEST + 120 |
KDAV::ERR_ITEMLIST | ERR_PROBLEM_WITH_REQUEST + 130 |
KDAV::ERR_ITEMLIST_NOMIMETYPE | 431 |
enum KDAV::Privilege
flags KDAV::Privileges
Describes the DAV privileges on a resource (see RFC3744)
Constant | Value |
---|---|
KDAV::None | 0x0 |
KDAV::Read | 0x1 |
KDAV::Write | 0x2 |
KDAV::WriteProperties | 0x4 |
KDAV::WriteContent | 0x8 |
KDAV::Unlock | 0x10 |
KDAV::ReadAcl | 0x20 |
KDAV::ReadCurrentUserPrivilegeSet | 0x40 |
KDAV::WriteAcl | 0x80 |
KDAV::Bind | 0x100 |
KDAV::Unbind | 0x200 |
KDAV::All | 0x400 |
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.
Constant | Value | Description |
---|---|---|
KDAV::CalDav | 0 | The CalDav protocol as defined in https://devguide.calconnect.org/CalDAV |
KDAV::CardDav | 1 | The CardDav protocol as defined in https://devguide.calconnect.org/CardDAV |
KDAV::GroupDav | 2 | The GroupDav protocol as defined in http://www.groupdav.org |