15 #include "weaverextensions.h"
19 namespace ThreadWeaver {
21 WeaverExtension::WeaverExtension ( TQObject *parent, const char *name)
22 : TQObject (parent, name)
26 void WeaverExtension::attach ( Weaver *w)
28 connect (w, TQ_SIGNAL (threadCreated ( Thread *) ),
29 TQ_SLOT (threadCreated ( Thread *) ) );
30 connect (w, TQ_SIGNAL (threadDestroyed ( Thread *) ),
31 TQ_SLOT (threadDestroyed ( Thread *) ) );
32 connect (w, TQ_SIGNAL (threadBusy ( Thread *) ),
33 TQ_SLOT (threadBusy ( Thread *) ) );
34 connect (w, TQ_SIGNAL (threadSuspended ( Thread *) ),
35 TQ_SLOT (threadSuspended ( Thread *) ) );
38 WeaverExtension::~WeaverExtension()
42 void WeaverExtension::threadCreated (Thread *)
46 void WeaverExtension::threadDestroyed (Thread *)
50 void WeaverExtension::threadBusy (Thread *)
54 void WeaverExtension::threadSuspended (Thread *)
61 #include "weaverextensions.moc"
The class Thread is used to represent the worker threads in the weaver's inventory.
A weaver is the manager of worker threads (Thread objects) to which it assigns jobs from it's queue.
TDEPIM classes for drag and drop of mails.
|