From 936370a6413e14b322ce808be07c6c66714941b6 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/applications/ktorrent@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libktorrent/util/log.cpp | 6 +++--- libktorrent/util/profiler.cpp | 2 +- libktorrent/util/profiler.h | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'libktorrent/util') diff --git a/libktorrent/util/log.cpp b/libktorrent/util/log.cpp index 6935a45..6030e99 100644 --- a/libktorrent/util/log.cpp +++ b/libktorrent/util/log.cpp @@ -45,7 +45,7 @@ namespace bt class Log::Private { public: - Log* tqparent; + Log* parent; TQTextStream* out; TQFile fptr; bool to_cout; @@ -55,7 +55,7 @@ namespace bt unsigned int m_filter; AutoRotateLogJob* rotate_job; public: - Private(Log* tqparent) : tqparent(tqparent),out(0),to_cout(false),rotate_job(0) + Private(Log* parent) : parent(parent),out(0),to_cout(false),rotate_job(0) { out = new TQTextStream(); } @@ -146,7 +146,7 @@ namespace bt fptr.close(); // close the log file out->setDevice(0); // start the rotate job - rotate_job = new AutoRotateLogJob(file,tqparent); + rotate_job = new AutoRotateLogJob(file,parent); } } diff --git a/libktorrent/util/profiler.cpp b/libktorrent/util/profiler.cpp index 766012d..a0f42d2 100644 --- a/libktorrent/util/profiler.cpp +++ b/libktorrent/util/profiler.cpp @@ -25,7 +25,7 @@ namespace bt { - Profile::Profile(Profile* tqparent,const TQString & name) : tqparent(tqparent),name(name) + Profile::Profile(Profile* parent,const TQString & name) : parent(parent),name(name) { min = max = avg = 0.0; count = 0; diff --git a/libktorrent/util/profiler.h b/libktorrent/util/profiler.h index 836f4ba..917a671 100644 --- a/libktorrent/util/profiler.h +++ b/libktorrent/util/profiler.h @@ -34,7 +34,7 @@ namespace bt */ class Profile { - Profile* tqparent; + Profile* parent; TQPtrList tqchildren; TQString name; @@ -42,7 +42,7 @@ namespace bt Uint32 count; double start_time; public: - Profile(Profile* tqparent,const TQString & name); + Profile(Profile* parent,const TQString & name); virtual ~Profile(); /** @@ -63,9 +63,9 @@ namespace bt Profile* child(const TQString & name); /** - * Get the tqparent of the current profile. + * Get the parent of the current profile. */ - Profile* getParent() const {return tqparent;} + Profile* getParent() const {return parent;} /** * Save profile information to a file. -- cgit v1.2.1