Akonadi
entityannotationsattribute.cpp
15 EntityAnnotationsAttribute::EntityAnnotationsAttribute(const QMap<QByteArray, QByteArray> &annotations)
QString fromUtf8(const char *str, int size)
int indexOf(char ch, int from) const const
QList< QByteArray > split(char sep) const const
QByteArray trimmed() const const
QMap::iterator insert(const Key &key, const T &value)
int size() const const
void chop(int n)
Attribute * clone() const override
Creates a copy of this attribute.
Definition: entityannotationsattribute.cpp:51
QByteArray mid(int pos, int len) const const
QByteArray serialized() const override
Returns a QByteArray representation of the attribute which will be storaged.
Definition: entityannotationsattribute.cpp:56
QByteArray toUtf8() const const
bool startsWith(const QByteArray &ba) const const
An attribute for annotations.
Definition: entityannotationsattribute.h:30
bool isEmpty() const const
void deserialize(const QByteArray &data) override
Sets the data of this attribute, using the same encoding as returned by toByteArray().
Definition: entityannotationsattribute.cpp:71
bool endsWith(const QByteArray &ba) const const
QByteArray type() const override
Returns the type of the attribute.
Definition: entityannotationsattribute.cpp:45
Helper integration between Akonadi and Qt.
QByteArray & insert(int i, char ch)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:52:16 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:52:16 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.