libtdepim

weaverextensions.cpp
1/*
2 This file implements the Weaver Extensions basics.
3
4 $ Author: Mirko Boehm $
5 $ Copyright: (C) 2004, Mirko Boehm $
6 $ Contact: mirko@kde.org
7 http://www.kde.org
8 http://www.hackerbuero.org $
9 $ License: LGPL with the following explicit clarification:
10 This code may be linked against any version of the TQt toolkit
11 from Troll Tech, Norway. $
12
13*/
14
15#include "weaverextensions.h"
16#include "weaver.h"
17
18namespace KPIM {
19namespace ThreadWeaver {
20
21 WeaverExtension::WeaverExtension ( TQObject *parent, const char *name)
22 : TQObject (parent, name)
23 {
24 }
25
26 void WeaverExtension::attach (Weaver *w)
27 {
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 *) ) );
36 }
37
38 WeaverExtension::~WeaverExtension()
39 {
40 }
41
42 void WeaverExtension::threadCreated (Thread *)
43 {
44 }
45
46 void WeaverExtension::threadDestroyed (Thread *)
47 {
48 }
49
50 void WeaverExtension::threadBusy (Thread *)
51 {
52 }
53
54 void WeaverExtension::threadSuspended (Thread *)
55 {
56 }
57
58}
59}
60
61#include "weaverextensions.moc"
The class Thread is used to represent the worker threads in the weaver's inventory.
Definition: weaver.h:250
A weaver is the manager of worker threads (Thread objects) to which it assigns jobs from it's queue.
Definition: weaver.h:297
TDEPIM classes for drag and drop of mails.