diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 19:35:16 +0200 |
| commit | ec049c7c32d50faf317b13d5c844a19978881fc3 (patch) | |
| tree | ca9b445d4cba887b9161fddd3ba714e1d7b5060b /src/profileengine/lib/profileengine.h | |
| parent | 1c082a5ba751ddd4edd36bb0061462f9a999f88d (diff) | |
| download | tdevelop-ec049c7c32d50faf317b13d5c844a19978881fc3.tar.gz tdevelop-ec049c7c32d50faf317b13d5c844a19978881fc3.zip | |
Remove additional unneeded tq method conversions
(cherry picked from commit 7e66d7c3611d907ea28b140281b472bb1c406be6)
Diffstat (limited to 'src/profileengine/lib/profileengine.h')
| -rw-r--r-- | src/profileengine/lib/profileengine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/profileengine/lib/profileengine.h b/src/profileengine/lib/profileengine.h index 90908afe..e790dece 100644 --- a/src/profileengine/lib/profileengine.h +++ b/src/profileengine/lib/profileengine.h @@ -177,8 +177,8 @@ public: template<class Operation> void walkProfiles(Operation &op, Profile *root) { - TQValueList<Profile*> tqchildren = root->tqchildren(); - for (TQValueList<Profile*>::iterator it = tqchildren.begin(); it != tqchildren.end(); ++it) + TQValueList<Profile*> children = root->children(); + for (TQValueList<Profile*>::iterator it = children.begin(); it != children.end(); ++it) { op(*it); walkProfiles<Operation>(op, *it); @@ -244,8 +244,8 @@ public: template<class Operation, class Result> void walkProfiles(Operation &op, Result *result, Profile *root) { - TQValueList<Profile*> tqchildren = root->tqchildren(); - for (TQValueList<Profile*>::iterator it = tqchildren.begin(); it != tqchildren.end(); ++it) + TQValueList<Profile*> children = root->children(); + for (TQValueList<Profile*>::iterator it = children.begin(); it != children.end(); ++it) { Result *newResult = op(result, *it); walkProfiles<Operation>(op, newResult, *it); |
