summaryrefslogtreecommitdiffstats
path: root/libtdepim/weaverextensions.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
commit2c2fbd828ca474671bb9e03681b30b115d8d6035 (patch)
tree526a9da418f8d3d7ccf515c37048d3dfc80f2843 /libtdepim/weaverextensions.cpp
parentf0610eece3676b6fe99f42cf4ef2b19a39a5c4e8 (diff)
downloadtdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.tar.gz
tdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'libtdepim/weaverextensions.cpp')
-rw-r--r--libtdepim/weaverextensions.cpp62
1 files changed, 62 insertions, 0 deletions
diff --git a/libtdepim/weaverextensions.cpp b/libtdepim/weaverextensions.cpp
new file mode 100644
index 000000000..9859b6d6b
--- /dev/null
+++ b/libtdepim/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 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, 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 *) ) );
+ }
+
+ WeaverExtension::~WeaverExtension()
+ {
+ }
+
+ void WeaverExtension::threadCreated (Thread *)
+ {
+ }
+
+ void WeaverExtension::threadDestroyed (Thread *)
+ {
+ }
+
+ void WeaverExtension::threadBusy (Thread *)
+ {
+ }
+
+ void WeaverExtension::threadSuspended (Thread *)
+ {
+ }
+
+}
+}
+
+#include "weaverextensions.moc"