summaryrefslogtreecommitdiffstats
path: root/libktorrent/util
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit936370a6413e14b322ce808be07c6c66714941b6 (patch)
tree31b9f37bb64beac5eddafef05312da5b48736bd6 /libktorrent/util
parent2a99db3ebc4c211e436f95fde24b5ac6826d0267 (diff)
downloadktorrent-936370a6413e14b322ce808be07c6c66714941b6.tar.gz
ktorrent-936370a6413e14b322ce808be07c6c66714941b6.zip
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
Diffstat (limited to 'libktorrent/util')
-rw-r--r--libktorrent/util/log.cpp6
-rw-r--r--libktorrent/util/profiler.cpp2
-rw-r--r--libktorrent/util/profiler.h8
3 files changed, 8 insertions, 8 deletions
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<Profile> 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.