From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdepim/weaver.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libkdepim/weaver.h') 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 (); -- cgit v1.2.1