1/*
2 SPDX-FileCopyrightText: 2009 Grégory Oestreicher <greg@kamago.net>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KDAV_CALDAVPROTOCOL_H
8#define KDAV_CALDAVPROTOCOL_H
9
10#include "common/davmultigetprotocol_p.h"
11
12class CaldavProtocol : public KDAV::DavMultigetProtocol
13{
14public:
15 CaldavProtocol();
16 Q_REQUIRED_RESULT bool supportsPrincipals() const override;
17 Q_REQUIRED_RESULT bool useReport() const override;
18 Q_REQUIRED_RESULT bool useMultiget() const override;
19 Q_REQUIRED_RESULT QString principalHomeSet() const override;
20 Q_REQUIRED_RESULT QString principalHomeSetNS() const override;
21 Q_REQUIRED_RESULT KDAV::XMLQueryBuilder::Ptr collectionsQuery() const override;
22 Q_REQUIRED_RESULT bool containsCollection(const QDomElement &propElem) const override;
23 Q_REQUIRED_RESULT QList<KDAV::XMLQueryBuilder::Ptr> itemsQueries() const override;
24 Q_REQUIRED_RESULT KDAV::XMLQueryBuilder::Ptr itemsReportQuery(const QStringList &urls) const override;
25 Q_REQUIRED_RESULT QString responseNamespace() const override;
26 Q_REQUIRED_RESULT QString dataTagName() const override;
27
28 Q_REQUIRED_RESULT KDAV::DavCollection::ContentTypes collectionContentTypes(const QDomElement &propstat) const override;
29};
30
31#endif
32

source code of kdav/src/protocols/caldavprotocol_p.h