KDAV 5.109.0
enums.h
1/*
2 SPDX-FileCopyrightText: 2010 Tobias Koenig <tokoe@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KDAV_ENUMS_H
8#define KDAV_ENUMS_H
9
10#include <QFlags>
11
15namespace KDAV
16{
21 CalDav = 0,
24};
25
30 None = 0x0,
31 Read = 0x1,
32 Write = 0x2,
33 WriteProperties = 0x4,
34 WriteContent = 0x8,
35 Unlock = 0x10,
36 ReadAcl = 0x20,
37 ReadCurrentUserPrivilegeSet = 0x40,
38 WriteAcl = 0x80,
39 Bind = 0x100,
40 Unbind = 0x200,
41 All = 0x400,
42};
43Q_DECLARE_FLAGS(Privileges, Privilege)
44Q_DECLARE_OPERATORS_FOR_FLAGS(Privileges)
45}
46
47#endif
The KDAV namespace.
Definition davjobbase.h:17
Protocol
Describes the DAV protocol dialect.
Definition enums.h:20
@ GroupDav
The GroupDav protocol as defined in http://www.groupdav.org.
Definition enums.h:23
@ CardDav
The CardDav protocol as defined in https://devguide.calconnect.org/CardDAV.
Definition enums.h:22
@ CalDav
The CalDav protocol as defined in https://devguide.calconnect.org/CalDAV.
Definition enums.h:21
Privilege
Describes the DAV privileges on a resource (see RFC3744)
Definition enums.h:29