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() );
64 mDeletedAttributes = other.mDeletedAttributes;
65 if ( other.mParent ) {
66 mParent =
new Collection( *( other.mParent ) );
70 virtual void resetChangeLog()
72 mDeletedAttributes.clear();
79 QString mRemoteRevision;
80 QHash<QByteArray, Attribute*> mAttributes;
81 QSet<QByteArray> mDeletedAttributes;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:35 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.