File indexing completed on 2024-12-22 04:56:56
0001 /* 0002 SPDX-FileCopyrightText: 2009 Grégory Oestreicher <greg@kamago.net> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <Akonadi/Attribute> 0010 0011 class DavProtocolAttribute : public Akonadi::Attribute 0012 { 0013 public: 0014 explicit DavProtocolAttribute(int protocol = 0); 0015 0016 void setDavProtocol(int protocol); 0017 int davProtocol() const; 0018 0019 Akonadi::Attribute *clone() const override; 0020 QByteArray type() const override; 0021 QByteArray serialized() const override; 0022 void deserialize(const QByteArray &data) override; 0023 0024 private: 0025 int mDavProtocol = 0; 0026 };