You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.5 KiB
63 lines
1.5 KiB
15 years ago
|
/* -*- C++ -*-
|
||
|
|
||
|
This file implements the Weaver Extensions basics.
|
||
|
|
||
|
$ Author: Mirko Boehm $
|
||
|
$ Copyright: (C) 2004, Mirko Boehm $
|
||
|
$ Contact: mirko@kde.org
|
||
|
http://www.kde.org
|
||
|
http://www.hackerbuero.org $
|
||
|
$ License: LGPL with the following explicit clarification:
|
||
14 years ago
|
This code may be linked against any version of the TQt toolkit
|
||
15 years ago
|
from Troll Tech, Norway. $
|
||
|
|
||
|
*/
|
||
|
|
||
|
#include "weaverextensions.h"
|
||
|
#include "weaver.h"
|
||
|
|
||
|
namespace KPIM {
|
||
|
namespace ThreadWeaver {
|
||
|
|
||
13 years ago
|
WeaverExtension::WeaverExtension ( TQObject *parent, const char *name)
|
||
|
: TQObject (parent, name)
|
||
15 years ago
|
{
|
||
|
}
|
||
|
|
||
|
void WeaverExtension::attach (Weaver *w)
|
||
|
{
|
||
14 years ago
|
connect (w, TQT_SIGNAL (threadCreated (Thread *) ),
|
||
|
TQT_SLOT (threadCreated (Thread *) ) );
|
||
|
connect (w, TQT_SIGNAL (threadDestroyed (Thread *) ),
|
||
|
TQT_SLOT (threadDestroyed (Thread *) ) );
|
||
|
connect (w, TQT_SIGNAL (threadBusy (Thread *) ),
|
||
|
TQT_SLOT (threadBusy (Thread *) ) );
|
||
|
connect (w, TQT_SIGNAL (threadSuspended (Thread *) ),
|
||
|
TQT_SLOT (threadSuspended (Thread *) ) );
|
||
15 years ago
|
}
|
||
|
|
||
|
WeaverExtension::~WeaverExtension()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void WeaverExtension::threadCreated (Thread *)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void WeaverExtension::threadDestroyed (Thread *)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void WeaverExtension::threadBusy (Thread *)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void WeaverExtension::threadSuspended (Thread *)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#include "weaverextensions.moc"
|