diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:39:49 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-06 03:48:48 +0200 |
commit | 161e93feae40489201edee480db6802a9a61b0a4 (patch) | |
tree | 77e3e4aeae8d388ac7a7f5d1f0a8cf67045ee4a8 /libktorrent/util/profiler.cpp | |
parent | 1d7c126b63cbc97bba847f61e7c9ee89b80a390c (diff) | |
download | ktorrent-161e93feae40489201edee480db6802a9a61b0a4.tar.gz ktorrent-161e93feae40489201edee480db6802a9a61b0a4.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit bb37c4052a9edfff2196984cef241b1ce2df7bb3)
Diffstat (limited to 'libktorrent/util/profiler.cpp')
-rw-r--r-- | libktorrent/util/profiler.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libktorrent/util/profiler.cpp b/libktorrent/util/profiler.cpp index a0f42d2..4da9e7f 100644 --- a/libktorrent/util/profiler.cpp +++ b/libktorrent/util/profiler.cpp @@ -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<Profile>::iterator i = tqchildren.begin(); - while (i != tqchildren.end()) + TQPtrList<Profile>::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<Profile>::iterator i = tqchildren.begin(); - while (i != tqchildren.end()) + TQPtrList<Profile>::iterator i = children.begin(); + while (i != children.end()) { Profile* p = *i; p->save(out,nb); |