summaryrefslogtreecommitdiffstats
path: root/libkdepim/weaverextensions.cpp
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch)
tree67208f7c145782a7e90b123b982ca78d88cc2c87 /libkdepim/weaverextensions.cpp
downloadtdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz
tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/weaverextensions.cpp')
-rw-r--r--libkdepim/weaverextensions.cpp62
1 files changed, 62 insertions, 0 deletions
diff --git a/libkdepim/weaverextensions.cpp b/libkdepim/weaverextensions.cpp
new file mode 100644
index 000000000..6e19d2e78
--- /dev/null
+++ b/libkdepim/weaverextensions.cpp
@@ -0,0 +1,62 @@
+/* -*- 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:
+ This code may be linked against any version of the Qt toolkit
+ from Troll Tech, Norway. $
+
+*/
+
+#include "weaverextensions.h"
+#include "weaver.h"
+
+namespace KPIM {
+namespace ThreadWeaver {
+
+ WeaverExtension::WeaverExtension ( QObject *parent, const char *name)
+ : QObject (parent, name)
+ {
+ }
+
+ void WeaverExtension::attach (Weaver *w)
+ {
+ connect (w, SIGNAL (threadCreated (Thread *) ),
+ SLOT (threadCreated (Thread *) ) );
+ connect (w, SIGNAL (threadDestroyed (Thread *) ),
+ SLOT (threadDestroyed (Thread *) ) );
+ connect (w, SIGNAL (threadBusy (Thread *) ),
+ SLOT (threadBusy (Thread *) ) );
+ connect (w, SIGNAL (threadSuspended (Thread *) ),
+ SLOT (threadSuspended (Thread *) ) );
+ }
+
+ WeaverExtension::~WeaverExtension()
+ {
+ }
+
+ void WeaverExtension::threadCreated (Thread *)
+ {
+ }
+
+ void WeaverExtension::threadDestroyed (Thread *)
+ {
+ }
+
+ void WeaverExtension::threadBusy (Thread *)
+ {
+ }
+
+ void WeaverExtension::threadSuspended (Thread *)
+ {
+ }
+
+}
+}
+
+#include "weaverextensions.moc"