Akonadi

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

KDE's Doxygen guidelines are available online.