1 /*
2     SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
3     SPDX-FileContributor: Stephen Kelly <stephen@kdab.com>
4 
5     SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #include "notelockattribute.h"
9 
10 #include <QByteArray>
11 using namespace NoteShared;
NoteLockAttribute()12 NoteLockAttribute::NoteLockAttribute()
13     : Akonadi::Attribute()
14 {
15 }
16 
~NoteLockAttribute()17 NoteLockAttribute::~NoteLockAttribute()
18 {
19 }
20 
clone() const21 NoteLockAttribute *NoteLockAttribute::clone() const
22 {
23     return new NoteLockAttribute();
24 }
25 
deserialize(const QByteArray & data)26 void NoteLockAttribute::deserialize(const QByteArray &data)
27 {
28     Q_UNUSED(data)
29 }
30 
serialized() const31 QByteArray NoteLockAttribute::serialized() const
32 {
33     return QByteArrayLiteral("-");
34 }
35 
type() const36 QByteArray NoteLockAttribute::type() const
37 {
38     // We can't change this name!
39     static const QByteArray sType("KJotsLockAttribute");
40     return sType;
41 }
42