Akonadi
collectioncreatehandler.cpp
53 const bool canContainCollections = parentContentTypes | Actions::any(hasMimeType(CollectionMimeType));
54 const bool canContainVirtualCollections = parentContentTypes | Actions::any(hasMimeType(VirtualCollectionMimeType));
106 return failureResponse(QStringLiteral("Could not create collection %1, resourceId %2").arg(cmd.name()).arg(resourceId));
Helper class for DataStore transaction handling.
Definition: transaction.h:22
QString fromUtf8(const char *str, int size)
KCALUTILS_EXPORT QString mimeType()
CachePolicy cachePolicy() const
Returns the cache policy of the collection.
Definition: collection.cpp:336
virtual void activeCachePolicy(Collection &col)
Determines the active cache policy for this Collection.
Definition: datastore.cpp:939
void setRemoteId(const QString &id)
Sets the remote id of the collection.
Definition: collection.cpp:101
bool isEmpty() const const
The handler interfaces describes an entity capable of handling an AkonadiIMAP command.
Definition: handler.h:39
void setName(const QString &name)
Sets the i18n'ed name of the collection.
Definition: collection.cpp:221
void setRemoteRevision(const QString &revision)
Sets the remote revision of the collection.
Definition: collection.cpp:111
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 03:52:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 03:52:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.