Akonadi Mime
specialmailcollections.cpp
147 connect(job, &Akonadi::CollectionModifyJob::result, this, &SpecialMailCollections::slotCollectionModified);
const T * attribute() const
bool hasAttribute() const
QString displayName() const
static QString addNamespace(const QString &string)
QByteArray collectionType() const
bool hasCollection(const QByteArray &type, const AgentInstance &instance) const
bool hasDefaultCollection(const QByteArray &type) const
Akonadi::Collection collection(const QByteArray &type, const AgentInstance &instance) const
bool unregisterCollection(const Collection &collection)
bool registerCollection(const QByteArray &type, const Akonadi::Collection &collection)
Akonadi::Collection defaultCollection(const QByteArray &type) const
Interface to special mail collections such as inbox, outbox etc.
Definition specialmailcollections.h:54
bool unregisterCollection(const Collection &collection)
Unregisters the given collection as a special mail collection.
Definition specialmailcollections.cpp:96
bool registerCollection(Type type, const Akonadi::Collection &collection)
Registers the given collection as a special mail collection with the given type.
Definition specialmailcollections.cpp:91
bool hasDefaultCollection(Type type) const
Returns whether the default resource has a special mail collection of the given type.
Definition specialmailcollections.cpp:105
static Type specialCollectionType(const Akonadi::Collection &collection)
Returns the special collection type for a given collection, or empty if the collection doesn't have a...
Definition specialmailcollections.cpp:161
static SpecialMailCollections * self()
Returns the global SpecialMailCollections instance.
Definition specialmailcollections.cpp:76
Akonadi::Collection collection(Type type, const AgentInstance &instance) const
Returns the special mail collection of the given type in the given agent instance,...
Definition specialmailcollections.cpp:86
Akonadi::Collection defaultCollection(Type type) const
Returns the special mail collection of given type in the default resource, or an invalid collection i...
Definition specialmailcollections.cpp:110
bool hasCollection(Type type, const AgentInstance &instance) const
Returns whether the given agent instance has a special collection of the given type.
Definition specialmailcollections.cpp:81
int error() const
void result(KJob *job)
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:32:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:32:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.