From f96f74ffa7040e64ae3352e08c810c383c8a0ba2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:56 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- libktorrent/util/profiler.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libktorrent/util/profiler.cpp') diff --git a/libktorrent/util/profiler.cpp b/libktorrent/util/profiler.cpp index a0f42d2..3cacbe3 100644 --- a/libktorrent/util/profiler.cpp +++ b/libktorrent/util/profiler.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ #ifdef KT_PROFILE #include -#include +#include #include #include "profiler.h" @@ -30,7 +30,7 @@ namespace bt min = max = avg = 0.0; count = 0; start_time = 0.0; - tqchildren.setAutoDelete(true); + children.setAutoDelete(true); } Profile::~Profile() @@ -63,8 +63,8 @@ namespace bt Profile* Profile::child(const TQString & name) { - TQPtrList::iterator i = tqchildren.begin(); - while (i != tqchildren.end()) + TQPtrList::iterator i = children.begin(); + while (i != children.end()) { Profile* p = *i; if (p->name == name) @@ -73,7 +73,7 @@ namespace bt } Profile* p = new Profile(this,name); - tqchildren.append(p); + children.append(p); return p; } @@ -84,8 +84,8 @@ namespace bt out.precision(5); out << qSetW(60) << nb << qSetW(10) << min << qSetW(10) << max << qSetW(10) << avg << qSetW(10) << count << endl; - TQPtrList::iterator i = tqchildren.begin(); - while (i != tqchildren.end()) + TQPtrList::iterator i = children.begin(); + while (i != children.end()) { Profile* p = *i; p->save(out,nb); -- cgit v1.2.1