diff options
Diffstat (limited to 'libkdepim/weaver.h')
-rw-r--r-- | libkdepim/weaver.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdepim/weaver.h b/libkdepim/weaver.h index 43d4368d0..33989e126 100644 --- a/libkdepim/weaver.h +++ b/libkdepim/weaver.h @@ -167,7 +167,7 @@ namespace ThreadWeaver { TQ_OBJECT public: /** Construct a Job object. */ - Job(TQObject* tqparent=0, const char* name=0); + Job(TQObject* parent=0, const char* name=0); /** Destructor. */ virtual ~Job(); @@ -251,9 +251,9 @@ namespace ThreadWeaver { { public: /** Create a thread. - These thread objects are only used inside the Weaver tqparent + These thread objects are only used inside the Weaver parent object. */ - Thread(Weaver *tqparent); + Thread(Weaver *parent); /** The destructor. */ ~Thread(); @@ -261,7 +261,7 @@ namespace ThreadWeaver { /** Overloaded to execute the assigned job. This will NOT return until shutdown() is called. The thread will try to execute one job after the other, asking - the Weaver tqparent for a new job when the assigned one is + the Weaver parent for a new job when the assigned one is finished. If no jobs are available, the thread will suspend. After shutdown() is called, the thread will end as soon as @@ -283,7 +283,7 @@ namespace ThreadWeaver { void post (Event::Action, Job* = 0); private: - Weaver *m_tqparent; + Weaver *m_parent; const unsigned int m_id; @@ -299,7 +299,7 @@ namespace ThreadWeaver { Q_OBJECT TQ_OBJECT public: - Weaver (TQObject* tqparent=0, const char* name=0, + Weaver (TQObject* parent=0, const char* name=0, int inventoryMin = 4, // minimal number of provided threads int inventoryMax = 32); // maximum number of provided threads virtual ~Weaver (); |