Libkdav2
19#ifndef KDAV2_DAVCOLLECTION_H
20#define KDAV2_DAVCOLLECTION_H
22#include "kpimkdav2_export.h"
28#include <QtCore/QVector>
29#include <QtCore/QString>
33class DavCollectionPrivate;
68 Q_DECLARE_FLAGS(ContentTypes, ContentType)
92 void setCTag(
const QString &ctag);
103 void setUrl(
const DavUrl &url);
113 void setDisplayName(
const QString &name);
123 void setColor(
const QColor &color);
134 void setContentTypes(ContentTypes types);
139 ContentTypes contentTypes()
const;
144 void setPrivileges(Privileges privs);
149 Privileges privileges()
const;
152 std::unique_ptr<DavCollectionPrivate> d;
157Q_DECLARE_OPERATORS_FOR_FLAGS(KDAV2::DavCollection::ContentTypes)
A helper class to store information about DAV collection.
ContentType
Describes the possible content type of the DAV collection.
@ Contacts
The collection can contain contact DAV resources.
@ Journal
The collection can contain journal DAV resources.
@ Todos
The collection can contain todo DAV resources.
@ FreeBusy
The collection can contain free/busy information.
@ Events
The collection can contain event DAV resources.
@ Calendar
The collection can contain anything calendar-related.
QVector< DavCollection > List
Defines a list of DAV collection objects.
DavCollection()
Creates an empty DAV collection.
A helper class to combine url and protocol of a DAV url.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:52 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.