File indexing completed on 2024-12-22 04:56:55

0001 /*
0002     SPDX-FileCopyrightText: 2015 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 #include <QString>
0012 
0013 class CTagAttribute : public Akonadi::Attribute
0014 {
0015 public:
0016     explicit CTagAttribute(const QString &ctag = QString());
0017 
0018     void setCTag(const QString &ctag);
0019     QString CTag() const;
0020 
0021     Akonadi::Attribute *clone() const override;
0022     QByteArray type() const override;
0023     QByteArray serialized() const override;
0024     void deserialize(const QByteArray &data) override;
0025 
0026 private:
0027     QString mCTag;
0028 };