Akonadi

favoritecollectionattribute.cpp
1/*
2 SPDX-FileCopyrightText: 2017 Daniel Vrátil <dvratil@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "favoritecollectionattribute.h"
8
9using namespace Akonadi;
10
11Attribute *FavoriteCollectionAttribute::clone() const
12{
13 return new FavoriteCollectionAttribute();
14}
15
16QByteArray FavoriteCollectionAttribute::type() const
17{
18 return QByteArrayLiteral("favorite");
19}
20
21void FavoriteCollectionAttribute::deserialize(const QByteArray & /*data*/)
22{
23 // unused
24}
25
26QByteArray FavoriteCollectionAttribute::serialized() const
27{
28 return {};
29}
Provides interface for custom attributes for Entity.
Definition attribute.h:132
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.