Akonadi Namespace Reference
Namespaces | |
namespace | CollectionUtils |
namespace | ContactPart |
namespace | MessageFlags |
namespace | MessagePart |
namespace | PasteHelper |
namespace | TypePluginLoader |
Classes | |
class | ActionStateManager |
A helper class to manage action states. More... | |
class | AgentActionManager |
Manages generic actions for agent and agent instance views. More... | |
class | AgentBase |
The base class for all Akonadi agents and resources. More... | |
class | AgentBasePrivate |
class | AgentFactory |
A factory for in-process agents. More... | |
class | AgentFactoryBase |
A factory base class for in-process agents. More... | |
class | AgentFilterProxyModel |
A proxy model for filtering AgentType or AgentInstance. More... | |
class | AgentInstance |
A representation of an agent instance. More... | |
class | AgentInstanceCreateJob |
Job for creating new agent instances. More... | |
class | AgentInstanceModel |
Provides a data model for agent instances. More... | |
class | AgentInstanceWidget |
Provides a widget that lists all available agent instances. More... | |
class | AgentManager |
Provides an interface to retrieve agent types and manage agent instances. More... | |
class | AgentManagerPrivate |
class | AgentSearchInterface |
An interface for agents (or resources) that support searching in their backend. More... | |
class | AgentType |
A representation of an agent type. More... | |
class | AgentTypeDialog |
A dialog to select an available agent type. More... | |
class | AgentTypeModel |
Provides a data model for agent types. More... | |
class | AgentTypeWidget |
Provides a widget that lists all available agent types. More... | |
class | AsyncSelectionHandler |
class | Attribute |
Provides interface for custom attributes for Entity. More... | |
class | AttributeFactory |
Provides the functionality of registering and creating arbitrary entity attributes. More... | |
class | CachePolicy |
Represents the caching policy for a collection. More... | |
class | CachePolicyPage |
A page in a collection properties dialog to configure the cache policy. More... | |
class | ChangeRecorder |
Records and replays change notification. More... | |
class | StandardCalendarActionManager |
Manages calendar specific actions for collection and item views. More... | |
Functions | |
AKONADI_EXCEPTION_MAKE_TRIVIAL_INSTANCE (PayloadException) | |
static QString | format (const QString &mimeType, const QVector< int > &metaTypeIds) |
static bool | operator< (const QString &identifier, const PluginEntry &entry) |
static bool | operator< (const MimeTypeEntry &lhs, const MimeTypeEntry &rhs) |
static bool | operator< (const MimeTypeEntry &lhs, const QString &rhs) |
static bool | operator< (const QString &lhs, const MimeTypeEntry &rhs) |
uint | qHash (Akonadi::DelegateAnimator::Animation anim) |
bool AKONADI_TESTS_EXPORT | releaseLock () |
void | setCollectionAttributes (Akonadi::Collection &col, const QByteArray &type, const QMap< QByteArray, QString > &nameForType, const QMap< QByteArray, QString > &iconForType) |
Detailed Description
NOTE: This method is for use in libakonadi-kde and targets *under* kdepimlibs/akonadi.
In kdelibs 4.6 there will be a slightly more generic variant available. We need this method as long as we depend on kdelibs 4.5 which doesn't have this method.
Function Documentation
bool AKONADI_TESTS_EXPORT Akonadi::releaseLock | ( | ) |
Releases the SpecialCollectionsRequestJob lock that was obtained through GetLockJob.
- Returns:
- Whether the lock was released successfully.
void Akonadi::setCollectionAttributes | ( | Akonadi::Collection & | col, |
const QByteArray & | type, | ||
const QMap< QByteArray, QString > & | nameForType, | ||
const QMap< QByteArray, QString > & | iconForType | ||
) |
Sets on col
the required attributes of SpecialCollection type type
.
These are a SpecialCollectionAttribute and an EntityDisplayAttribute.
Definition at line 628 of file specialcollectionshelperjobs.cpp.