akonadi
24#include "collection.h"
27#include <QtCore/QSharedData>
28#include <QtCore/QString>
30#define AKONADI_DEFINE_PRIVATE( Class ) \
31Class##Private *Class ::d_func() { return reinterpret_cast<Class##Private *>( d_ptr.data() ); } \
32const 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;
Provides interface for custom attributes for Entity.
virtual Attribute * clone() const =0
Creates a copy of this attribute.
virtual QByteArray type() const =0
Returns the type of the attribute.
Represents a collection of PIM items.
qint64 Id
Describes the unique id type.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.