diff options
Diffstat (limited to 'libkdepim/weaver.cpp')
-rw-r--r-- | libkdepim/weaver.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdepim/weaver.cpp b/libkdepim/weaver.cpp index 36bb8fe00..0e718e019 100644 --- a/libkdepim/weaver.cpp +++ b/libkdepim/weaver.cpp @@ -8,7 +8,7 @@ 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 + This code may be linked against any version of the TQt toolkit from Troll Tech, Norway. $ */ @@ -28,8 +28,8 @@ namespace ThreadWeaver { bool Debug = true; int DebugLevel = 2; - Job::Job (TQObject* parent, const char* name) - : TQObject (parent, name), + Job::Job (TQObject* tqparent, const char* name) + : TQObject (tqparent, name), m_finished (false), m_mutex (new TQMutex (true) ), m_thread (0) @@ -178,9 +178,9 @@ namespace ThreadWeaver { unsigned int Thread::sm_Id; - Thread::Thread (Weaver *parent) + Thread::Thread (Weaver *tqparent) : TQThread (), - m_parent ( parent ), + m_tqparent ( tqparent ), m_id ( makeId() ) { } @@ -212,7 +212,7 @@ namespace ThreadWeaver { { debug ( 3, "Thread::run [%u]: trying to execute the next job.\n", id() ); - job = m_parent->applyForWork ( this, job ); + job = m_tqparent->applyForWork ( this, job ); if (job == 0) { @@ -229,7 +229,7 @@ namespace ThreadWeaver { void Thread::post (Event::Action a, Job *j) { - m_parent->post ( a, this, j); + m_tqparent->post ( a, this, j); } void Thread::msleep(unsigned long msec) @@ -237,9 +237,9 @@ namespace ThreadWeaver { TQThread::msleep(msec); } - Weaver::Weaver(TQObject* parent, const char* name, + Weaver::Weaver(TQObject* tqparent, const char* name, int inventoryMin, int inventoryMax) - : TQObject(parent, name), + : TQObject(tqparent, name), m_active(0), m_inventoryMin(inventoryMin), m_inventoryMax(inventoryMax), @@ -437,7 +437,7 @@ namespace ThreadWeaver { } return true; } else { - // others - please make sure we are a QObject! + // others - please make sure we are a TQObject! return TQObject::event ( e ); } } |