Akonadi
itemretrievalmanager.h
35 virtual AbstractItemRetrievalJob *retrievalJob(ItemRetrievalRequest request, QObject *parent) = 0;
53 explicit ItemRetrievalManager(std::unique_ptr<AbstractItemRetrievalJobFactory> factory, QObject *parent = nullptr);
78 void serviceOwnerChanged(const QString &serviceName, const QString &oldOwner, const QString &newOwner);
Manages and processes item retrieval requests.
Definition itemretrievalmanager.h:46
QWaitCondition mWaitCondition
Used to let requesting threads wait until the request has been processed.
Definition itemretrievalmanager.h:88
QReadWriteLock mLock
Protects mPendingRequests and every Request object posted to it.
Definition itemretrievalmanager.h:86
QHash< QString, AbstractItemRetrievalJob * > mCurrentJobs
Currently running jobs, one per resource.
Definition itemretrievalmanager.h:93
ItemRetrievalManager(QObject *parent=nullptr)
Use AkThread::create() to create and start a new ItemRetrievalManager thread.
Definition itemretrievalmanager.cpp:32
virtual void requestItemDelivery(ItemRetrievalRequest request)
Added for convenience.
Definition itemretrievalmanager.cpp:102
std::unordered_map< QString, std::list< ItemRetrievalRequest > > mPendingRequests
Pending requests queues, one per resource.
Definition itemretrievalmanager.h:91
Details of a single item retrieval request.
Definition itemretrievalrequest.h:24
Helper integration between Akonadi and Qt.
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
Server
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.