summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jingle/libjingle/talk/base/task.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kopete/protocols/jabber/jingle/libjingle/talk/base/task.cc
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kopete/protocols/jabber/jingle/libjingle/talk/base/task.cc')
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/base/task.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/base/task.cc b/kopete/protocols/jabber/jingle/libjingle/talk/base/task.cc
index 6d85cb0d..a5a94941 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/base/task.cc
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/base/task.cc
@@ -194,12 +194,12 @@ int Task::Process(int state) {
void
Task::AddChild(Task * child) {
- tqchildren_.insert(child);
+ children_.insert(child);
}
bool
Task::AllChildrenDone() {
- for (ChildSet::iterator it = tqchildren_.begin(); it != tqchildren_.end(); ++it) {
+ for (ChildSet::iterator it = children_.begin(); it != children_.end(); ++it) {
if (!(*it)->IsDone())
return false;
}
@@ -213,8 +213,8 @@ Task::AnyChildError() {
void
Task::AbortAllChildren() {
- if (tqchildren_.size() > 0) {
- ChildSet copy = tqchildren_;
+ if (children_.size() > 0) {
+ ChildSet copy = children_;
for (ChildSet::iterator it = copy.begin(); it != copy.end(); ++it) {
(*it)->Abort(true); // Note we do not wake
}
@@ -231,7 +231,7 @@ void
Task::OnChildStopped(Task * child) {
if (child->HasError())
child_error_ = true;
- tqchildren_.erase(child);
+ children_.erase(child);
}