Warning, file /pim/kdepim-runtime/resources/shared/singlefileresource/collectionflagsattribute.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2008 Omat Holding B.V. <info@omat.nl> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "akonadi-singlefileresource_export.h" 0010 #include <Akonadi/Attribute> 0011 0012 namespace Akonadi 0013 { 0014 class AKONADI_SINGLEFILERESOURCE_EXPORT CollectionFlagsAttribute : public Akonadi::Attribute 0015 { 0016 public: 0017 explicit CollectionFlagsAttribute(const QList<QByteArray> &flags = QList<QByteArray>()); 0018 void setFlags(const QList<QByteArray> &flags); 0019 QList<QByteArray> flags() const; 0020 QByteArray type() const override; 0021 Attribute *clone() const override; 0022 QByteArray serialized() const override; 0023 void deserialize(const QByteArray &data) override; 0024 0025 private: 0026 QList<QByteArray> mFlags; 0027 }; 0028 }