summaryrefslogtreecommitdiffstats
path: root/apps/ktorrent/groups/groupview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit2a99db3ebc4c211e436f95fde24b5ac6826d0267 (patch)
treece2e122a017c12f803ea428a299c7e3cec52c8fe /apps/ktorrent/groups/groupview.cpp
parent100dcb6968ca22bfa52836ad55eb4f01225791db (diff)
downloadktorrent-2a99db3ebc4c211e436f95fde24b5ac6826d0267.tar.gz
ktorrent-2a99db3ebc4c211e436f95fde24b5ac6826d0267.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'apps/ktorrent/groups/groupview.cpp')
-rw-r--r--apps/ktorrent/groups/groupview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/ktorrent/groups/groupview.cpp b/apps/ktorrent/groups/groupview.cpp
index af33316..1918de6 100644
--- a/apps/ktorrent/groups/groupview.cpp
+++ b/apps/ktorrent/groups/groupview.cpp
@@ -161,7 +161,7 @@ namespace kt
if (name.isNull() || name.length() == 0)
return;
- if (gman->tqfind(name))
+ if (gman->find(name))
{
KMessageBox::error(this,i18n("The group %1 already exists.").tqarg(name));
return;
@@ -177,7 +177,7 @@ namespace kt
if (!current_item)
return;
- Group* g = groups.tqfind(current_item);
+ Group* g = groups.find(current_item);
if (!g)
return;
@@ -200,7 +200,7 @@ namespace kt
if (!current_item)
return;
- Group* g = groups.tqfind(current_item);
+ Group* g = groups.find(current_item);
if (!g)
return;
@@ -212,7 +212,7 @@ namespace kt
if (g->groupName() == name)
return;
- if (gman->tqfind(name))
+ if (gman->find(name))
{
KMessageBox::error(this,i18n("The group %1 already exists.").tqarg(name));
}
@@ -252,7 +252,7 @@ namespace kt
Group* g = 0;
if (current_item)
- g = groups.tqfind(current_item);
+ g = groups.find(current_item);
if (!g ||!gman->canRemove(g))
{
@@ -278,7 +278,7 @@ namespace kt
if (!li)
return;
- Group* g = groups.tqfind(li);
+ Group* g = groups.find(li);
if (g)
{
current = g;
@@ -292,7 +292,7 @@ namespace kt
if (!li)
return;
- TorrentGroup* g = dynamic_cast<TorrentGroup*>(groups.tqfind(li));
+ TorrentGroup* g = dynamic_cast<TorrentGroup*>(groups.find(li));
if (g)
{
TQValueList<TorrentInterface*> sel;
@@ -329,7 +329,7 @@ namespace kt
void GroupView::onGroupsSubMenuItemActivated(KTorrentView* v,const TQString & group)
{
- Group* g = gman->tqfind(group);
+ Group* g = gman->find(group);
if (g)
{
v->addSelectionToGroup(g);
@@ -339,7 +339,7 @@ namespace kt
const Group* GroupView::findGroup(const TQString & name) const
{
- Group* g = gman->tqfind(name);
+ Group* g = gman->find(name);
if (!g)
g = gman->findDefault(name);
@@ -351,7 +351,7 @@ namespace kt
if (!current_item)
return;
- Group* g = groups.tqfind(current_item);
+ Group* g = groups.find(current_item);
if (g)
openNewTab(g);
}