Akonadi
specialcollectionattribute.cpp
static void registerAttribute()
Registers a custom attribute of type T.
Definition attributefactory.h:51
An Attribute that stores the special collection type of a collection.
Definition specialcollectionattribute.h:29
void deserialize(const QByteArray &data) override
Sets the data of this attribute, using the same encoding as returned by toByteArray().
Definition specialcollectionattribute.cpp:45
void setCollectionType(const QByteArray &type)
Sets the special collections type of the collection.
Definition specialcollectionattribute.cpp:50
QByteArray collectionType() const
Returns the special collections type of the collection.
Definition specialcollectionattribute.cpp:55
SpecialCollectionAttribute(const QByteArray &type=QByteArray())
Creates a new special collection attribute.
Definition specialcollectionattribute.cpp:21
QByteArray serialized() const override
Returns a QByteArray representation of the attribute which will be storaged.
Definition specialcollectionattribute.cpp:40
~SpecialCollectionAttribute() override
Destroys the special collection attribute.
QByteArray type() const override
Returns the type of the attribute.
Definition specialcollectionattribute.cpp:34
SpecialCollectionAttribute * clone() const override
Creates a copy of this attribute.
Definition specialcollectionattribute.cpp:29
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
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.