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 --- plugins/infowidget/iwfiletreediritem.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/infowidget/iwfiletreediritem.cpp') diff --git a/plugins/infowidget/iwfiletreediritem.cpp b/plugins/infowidget/iwfiletreediritem.cpp index c143e7e..2abd159 100644 --- a/plugins/infowidget/iwfiletreediritem.cpp +++ b/plugins/infowidget/iwfiletreediritem.cpp @@ -51,8 +51,8 @@ namespace kt void IWFileTreeDirItem::updatePercentageInformation() { // first set all the child items - bt::PtrMap::iterator i = tqchildren.begin(); - while (i != tqchildren.end()) + bt::PtrMap::iterator i = children.begin(); + while (i != children.end()) { IWFileTreeItem* item = (IWFileTreeItem*)i->second; item->updatePercentageInformation(); @@ -71,8 +71,8 @@ namespace kt void IWFileTreeDirItem::updatePreviewInformation(kt::TorrentInterface* tc) { // first set all the child items - bt::PtrMap::iterator i = tqchildren.begin(); - while (i != tqchildren.end()) + bt::PtrMap::iterator i = children.begin(); + while (i != children.end()) { IWFileTreeItem* item = (IWFileTreeItem*)i->second; item->updatePreviewInformation(tc); @@ -91,11 +91,11 @@ namespace kt Priority IWFileTreeDirItem::updatePriorityInformation(kt::TorrentInterface* tc) { // first set all the child items - bt::PtrMap::iterator i = tqchildren.begin(); + bt::PtrMap::iterator i = children.begin(); bool setpriority = false; bool oneexcluded = false; Priority priority = PREVIEW_PRIORITY; - if(i != tqchildren.end()) + if(i != children.end()) { IWFileTreeItem* item = (IWFileTreeItem*)i->second; item->updatePriorityInformation(tc); @@ -105,7 +105,7 @@ namespace kt oneexcluded = true; setpriority = true; } - while (i != tqchildren.end()) + while (i != children.end()) { IWFileTreeItem* item = (IWFileTreeItem*)i->second; item->updatePriorityInformation(tc); @@ -118,7 +118,7 @@ namespace kt // then recursivly move on to subdirs bt::PtrMap::iterator j = subdirs.begin(); - if(j != subdirs.end() && tqchildren.begin() == tqchildren.end()) + if(j != subdirs.end() && children.begin() == children.end()) { Priority priority = ((IWFileTreeDirItem*)j->second)->updatePriorityInformation(tc); @@ -189,8 +189,8 @@ namespace kt void IWFileTreeDirItem::updateDNDInformation() { // first set all the child items - bt::PtrMap::iterator i = tqchildren.begin(); - while (i != tqchildren.end()) + bt::PtrMap::iterator i = children.begin(); + while (i != children.end()) { IWFileTreeItem* item = (IWFileTreeItem*)i->second; item->updateDNDInformation(); -- cgit v1.2.1