File indexing completed on 2024-11-10 04:40:28
0001 /* 0002 SPDX-FileCopyrightText: 2017 Daniel Vrátil <dvratil@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "akonadicore_export.h" 0010 #include "attribute.h" 0011 0012 namespace Akonadi 0013 { 0014 class AKONADICORE_EXPORT FavoriteCollectionAttribute : public Attribute 0015 { 0016 public: 0017 explicit FavoriteCollectionAttribute() = default; 0018 0019 Attribute *clone() const override; 0020 [[nodiscard]] QByteArray type() const override; 0021 0022 void deserialize(const QByteArray &data) override; 0023 [[nodiscard]] QByteArray serialized() const override; 0024 }; 0025 0026 }