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 GROUPDAVPROTOCOL_H |
8 | #define GROUPDAVPROTOCOL_H |
9 | |
10 | #include "common/davprotocolbase_p.h" |
11 | |
12 | class GroupdavProtocol : public KDAV::DavProtocolBase |
13 | { |
14 | public: |
15 | GroupdavProtocol(); |
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 KDAV::XMLQueryBuilder::Ptr collectionsQuery() const override; |
20 | Q_REQUIRED_RESULT bool containsCollection(const QDomElement &propElem) const override; |
21 | Q_REQUIRED_RESULT QList<KDAV::XMLQueryBuilder::Ptr> itemsQueries() const override; |
22 | |
23 | Q_REQUIRED_RESULT KDAV::DavCollection::ContentTypes collectionContentTypes(const QDomElement &propstat) const override; |
24 | }; |
25 | |
26 | #endif |
27 | |