Libkdav2

carddavprotocol.h
1 /*
2  Copyright (c) 2010 Tobias Koenig <[email protected]>
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef KDAV2_CARDDAVPROTOCOL_H
20 #define KDAV2_CARDDAVPROTOCOL_H
21 
22 #include "common/davmultigetprotocol.h"
23 
24 class CarddavProtocol : public KDAV2::DavMultigetProtocol
25 {
26 public:
27  CarddavProtocol();
28  bool supportsPrincipals() const Q_DECL_OVERRIDE;
29  bool supportsCTags() const Q_DECL_OVERRIDE;
30  bool useReport() const Q_DECL_OVERRIDE;
31  bool useMultiget() const Q_DECL_OVERRIDE;
32  QString principalHomeSet() const Q_DECL_OVERRIDE;
33  QString principalHomeSetNS() const Q_DECL_OVERRIDE;
34  KDAV2::XMLQueryBuilder::Ptr collectionsQuery() const Q_DECL_OVERRIDE;
35  QString collectionsXQuery() const Q_DECL_OVERRIDE;
36  QVector<KDAV2::XMLQueryBuilder::Ptr> itemsQueries() const Q_DECL_OVERRIDE;
37  KDAV2::XMLQueryBuilder::Ptr itemsReportQuery(const QStringList &urls) const Q_DECL_OVERRIDE;
38  QString responseNamespace() const Q_DECL_OVERRIDE;
39  QString dataTagName() const Q_DECL_OVERRIDE;
40 
41  KDAV2::DavCollection::ContentTypes collectionContentTypes(const QDomElement &propstat) const Q_DECL_OVERRIDE;
42 };
43 
44 #endif
Base class for protocols that implement multiget capabilities.
virtual bool supportsPrincipals() const =0
Returns whether the dav protocol dialect supports principal queries.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jan 27 2022 23:10:33 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.