KDE PIM / Developers / API Docs / libkdepim

KPIM::ThreadWeaver::WeaverExtension Class Reference

A WeaverExtension can be attached to an existing Weaver object and will then receive signals on actions the Weaver takes, like starting to process a specific job, assigning a job to a thread or suspending a thread. More...

#include <weaverextensions.h>

Inherits QObject.

Inherited by KPIM::ThreadWeaver::WeaverThreadLogger.

List of all members.

Public Slots

Public Member Functions


Detailed Description

A WeaverExtension can be attached to an existing Weaver object and will then receive signals on actions the Weaver takes, like starting to process a specific job, assigning a job to a thread or suspending a thread.

It can be used to monitor the state of a program, but also, for example, to provide visualization of the Weaver's work load in GUI programs. Derive from it to actually create an extension.


Member Function Documentation

void KPIM::ThreadWeaver::WeaverExtension::attach Weaver  ) 
 

Attach() is a convenience method that will connect all our slots to signals emitted by the weaver.

It is also possible to avoid attach() and only connect necessary signals.


The documentation for this class was generated from the following files: