ThreadWeaver
destructedstate.cpp
int queueLength() const override
Returns the number of pending jobs.
Definition destructedstate.cpp:75
int maximumNumberOfThreads() const override
Get the maximum number of threads this Weaver may start.
Definition destructedstate.cpp:38
void requestAbort() override
Request aborts of the currently executed jobs.
Definition destructedstate.cpp:80
void enqueue(const QList< JobPointer > &job) override
Queue a vector of jobs.
Definition destructedstate.cpp:48
void setMaximumNumberOfThreads(int cap) override
Set the maximum number of threads this Weaver object may start.
Definition destructedstate.cpp:34
int currentNumberOfThreads() const override
Returns the current number of threads in the inventory.
Definition destructedstate.cpp:43
bool dequeue(const JobPointer &job) override
Remove a job from the queue.
Definition destructedstate.cpp:52
QueueSignals declares the Qt signals shared by the Queue and Weaver classes.
Definition queuesignals.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.