Akonadi

entityhiddenattribute.cpp
1 /******************************************************************************
2  *
3  * SPDX-FileCopyrightText: 2009 Szymon Stefanek <s.stefanek at gmail dot com>
4  *
5  * SPDX-License-Identifier: LGPL-2.0-or-later
6  *
7  *****************************************************************************/
8 
9 #include "entityhiddenattribute.h"
10 
11 #include <QByteArray>
12 
13 using namespace Akonadi;
14 
15 class Akonadi::EntityHiddenAttributePrivate
16 {
17 };
18 
20 
22 
24 {
25  return QByteArrayLiteral("HIDDEN");
26 }
27 
29 {
30  return new EntityHiddenAttribute();
31 }
32 
34 {
35  return QByteArray();
36 }
37 
39 {
40  Q_ASSERT(data.isEmpty());
41  Q_UNUSED(data)
42 }
EntityHiddenAttribute * clone() const override
Reimplemented from Attribute.
void deserialize(const QByteArray &data) override
Reimplemented from Attribute.
An Attribute that marks that an entity should be hidden in the UI.
QByteArray type() const override
Reimplemented from Attribute.
QByteArray serialized() const override
Reimplemented from Attribute.
bool isEmpty() const const
~EntityHiddenAttribute() override
Destroys the entity hidden attribute.
Helper integration between Akonadi and Qt.
EntityHiddenAttribute()
Creates a new entity hidden attribute.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jun 30 2022 03:51:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.