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 );
55 : QSharedData( other ),
59 mRemoteId = other.mRemoteId;
60 mRemoteRevision = other.mRemoteRevision;
61 foreach (
Attribute* attr, other.mAttributes )
62 mAttributes.insert( attr->
type(), attr->
clone() );
63 mDeletedAttributes = other.mDeletedAttributes;
68 virtual void resetChangeLog()
70 mDeletedAttributes.clear();
77 QString mRemoteRevision;
78 QHash<QByteArray, Attribute*> mAttributes;
79 QSet<QByteArray> mDeletedAttributes;
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Dec 10 2012 13:48:08 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.