File indexing completed on 2024-06-02 05:23:59
0001 /* 0002 This file is part of KJots. 0003 0004 SPDX-FileCopyrightText: 2020 Igor Poboiko <igor.poboiko@gmail.com> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #include "notepinattribute.h" 0010 0011 using namespace NoteShared; 0012 0013 NotePinAttribute::NotePinAttribute() 0014 : Akonadi::Attribute() 0015 { 0016 } 0017 0018 NotePinAttribute *NotePinAttribute::clone() const 0019 { 0020 return new NotePinAttribute(); 0021 } 0022 0023 QByteArray NotePinAttribute::type() const 0024 { 0025 return QByteArrayLiteral("NotePinAttribute"); 0026 } 0027 0028 void NotePinAttribute::deserialize(const QByteArray &/*data*/) 0029 { 0030 // unused 0031 } 0032 0033 QByteArray NotePinAttribute::serialized() const 0034 { 0035 return QByteArrayLiteral("-"); 0036 }