File indexing completed on 2024-12-15 04:51:47
0001 /* 0002 SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.net> 0003 SPDX-FileContributor: Stephen Kelly <stephen@kdab.com> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #pragma once 0009 0010 #include "noteshared_export.h" 0011 0012 #include <Akonadi/Attribute> 0013 0014 namespace NoteShared 0015 { 0016 class NOTESHARED_EXPORT NoteLockAttribute : public Akonadi::Attribute 0017 { 0018 public: 0019 NoteLockAttribute(); 0020 ~NoteLockAttribute() override; 0021 0022 [[nodiscard]] QByteArray type() const override; 0023 0024 [[nodiscard]] NoteLockAttribute *clone() const override; 0025 0026 [[nodiscard]] QByteArray serialized() const override; 0027 0028 void deserialize(const QByteArray &data) override; 0029 }; 0030 }