KDAV

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
12/**
13 * The KDAV namespace.
14 */
15namespace KDAV
16{
17/**
18 * Describes the DAV protocol dialect.
19 */
21 CalDav = 0, ///< The CalDav protocol as defined in https://devguide.calconnect.org/CalDAV
22 CardDav, ///< The CardDav protocol as defined in https://devguide.calconnect.org/CardDAV
23 GroupDav, ///< The GroupDav protocol as defined in http://www.groupdav.org
24};
25
26/**
27 * Describes the DAV privileges on a resource (see RFC3744)
28 */
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.
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:06:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.