akonadi
24 #include "collection.h"
26 #include <QtCore/QSet>
27 #include <QtCore/QSharedData>
28 #include <QtCore/QString>
30 #define AKONADI_DEFINE_PRIVATE( Class ) \
31 Class##Private *Class ::d_func() { return reinterpret_cast<Class##Private *>( d_ptr.data() ); } \
32 const Class##Private *Class ::d_func() const { return reinterpret_cast<const Class##Private *>( d_ptr.data() ); }
50 qDeleteAll(mAttributes);
59 mRemoteId = other.mRemoteId;
60 mRemoteRevision = other.mRemoteRevision;
61 foreach (
Attribute *attr, other.mAttributes) {
62 mAttributes.insert(attr->
type(), attr->
clone());
64 mDeletedAttributes = other.mDeletedAttributes;
70 virtual void resetChangeLog()
72 mDeletedAttributes.clear();
79 QString mRemoteRevision;
80 QHash<QByteArray, Attribute *> mAttributes;
81 QSet<QByteArray> mDeletedAttributes;
virtual QByteArray type() const =0
Returns the type of the attribute.
Represents a collection of PIM items.
Provides interface for custom attributes for Entity.
qint64 Id
Describes the unique id type.
virtual Attribute * clone() const =0
Creates a copy of this attribute.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.