Akonadi
preprocessormanager.h
A single preprocessor (agent) instance.
Definition preprocessorinstance.h:39
The manager for preprocessor agents.
Definition preprocessormanager.h:58
void setEnabled(bool enabled)
Explicitly enables or disables the preprocessing in this Akonadi server.
Definition preprocessormanager.h:147
void unregisterInstance(const QString &id)
This is called via D-Bus from AgentManager to unregister a preprocessor instance.
Definition preprocessormanager.cpp:121
void preProcessorFinishedHandlingItem(PreprocessorInstance *preProcessor, qint64 itemId)
This is called by PreprocessorInstance to signal that a certain preprocessor has finished handling an...
Definition preprocessormanager.cpp:324
QList< PreprocessorInstance * > mPreprocessorChain
The preprocessor chain.
Definition preprocessormanager.h:78
bool isActive()
Returns true if preprocessing is active in this Akonadi server.
Definition preprocessormanager.cpp:73
bool mEnabled
Is preprocessing enabled at all in this Akonadi server instance? This is true by default and can be s...
Definition preprocessormanager.h:85
void beginHandleItem(const PimItem &item, const DataStore *dataStore)
Trigger the preprocessor chain for the specified item.
Definition preprocessormanager.cpp:165
PreprocessorManager(Tracer &tracer)
Creates an instance of PreprocessorManager.
Definition preprocessormanager.cpp:45
~PreprocessorManager() override
Destroys the instance of PreprocessorManager and frees all the relevant resources.
Definition preprocessormanager.cpp:61
bool isEnabled() const
Returns true if this preprocessor hasn't been explicitly disabled via setEnabled( false ).
Definition preprocessormanager.h:131
void registerInstance(const QString &id)
This is called via D-Bus from AgentManager to register a preprocessor instance.
Definition preprocessormanager.cpp:94
QHash< const DataStore *, std::deque< qint64 > * > mTransactionWaitQueueHash
The hashtable of transaction wait queues.
Definition preprocessormanager.h:69
QMutex mMutex
The mutex used to protect the internals of this class (mainly the mPreprocessorChain member).
Definition preprocessormanager.h:91
The global tracer instance where all akonadi components can send their tracing information to.
Definition tracer.h:38
Helper integration between Akonadi and Qt.
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
Server
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:51:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:51:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.