summaryrefslogtreecommitdiffstats
path: root/libtdepim/weaverextensions.cpp
blob: 01d68ff777f20a0cf30ff9b964667efb25542807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
   This file implements the Weaver Extensions basics.

   $ Author: Mirko Boehm $
   $ Copyright: (C) 2004, Mirko Boehm $
   $ Contact: [email protected]
         http://www.kde.org
         http://www.hackerbuero.org $
   $ License: LGPL with the following explicit clarification:
         This code may be linked against any version of the TQt toolkit
         from Troll Tech, Norway. $

*/

#include "weaverextensions.h"
#include "weaver.h"

namespace KPIM {
namespace ThreadWeaver {

    WeaverExtension::WeaverExtension ( TQObject *parent, const char *name)
        : TQObject (parent, name)
    {
    }

    void WeaverExtension::attach (Weaver *w)
    {
        connect (w, TQ_SIGNAL (threadCreated (Thread *) ),
                 TQ_SLOT (threadCreated (Thread *) ) );
        connect (w, TQ_SIGNAL (threadDestroyed (Thread *) ),
                 TQ_SLOT (threadDestroyed (Thread *) ) );
        connect (w, TQ_SIGNAL (threadBusy (Thread *) ),
                 TQ_SLOT (threadBusy (Thread *) ) );
        connect (w, TQ_SIGNAL (threadSuspended (Thread *) ),
                 TQ_SLOT (threadSuspended (Thread *) ) );
    }

    WeaverExtension::~WeaverExtension()
    {
    }

    void WeaverExtension::threadCreated (Thread *)
    {
    }

    void WeaverExtension::threadDestroyed (Thread *)
    {
    }

    void WeaverExtension::threadBusy (Thread *)
    {
    }

    void WeaverExtension::threadSuspended (Thread *)
    {
    }

}
}

#include "weaverextensions.moc"