summaryrefslogtreecommitdiffstats
path: root/libktorrent/net
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 /libktorrent/net
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 'libktorrent/net')
-rw-r--r--libktorrent/net/downloadthread.cpp4
-rw-r--r--libktorrent/net/networkthread.cpp4
-rw-r--r--libktorrent/net/portlist.cpp2
-rw-r--r--libktorrent/net/uploadthread.cpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/libktorrent/net/downloadthread.cpp b/libktorrent/net/downloadthread.cpp
index 2adf1a8..ae0f0b9 100644
--- a/libktorrent/net/downloadthread.cpp
+++ b/libktorrent/net/downloadthread.cpp
@@ -61,9 +61,9 @@ namespace net
{
// add to the correct group
Uint32 gid = s->downloadGroupID();
- SocketGroup* g = groups.tqfind(gid);
+ SocketGroup* g = groups.find(gid);
if (!g)
- g = groups.tqfind(0);
+ g = groups.find(0);
g->add(s);
num_ready++;
diff --git a/libktorrent/net/networkthread.cpp b/libktorrent/net/networkthread.cpp
index 0a48af9..40791c9 100644
--- a/libktorrent/net/networkthread.cpp
+++ b/libktorrent/net/networkthread.cpp
@@ -51,7 +51,7 @@ namespace net
void NetworkThread::addGroup(Uint32 gid,Uint32 limit)
{
// if group already exists, just change the limit
- SocketGroup* g = groups.tqfind(gid);
+ SocketGroup* g = groups.find(gid);
if (g)
{
g->setLimit(limit);
@@ -72,7 +72,7 @@ namespace net
void NetworkThread::setGroupLimit(Uint32 gid,Uint32 limit)
{
- SocketGroup* g = groups.tqfind(gid);
+ SocketGroup* g = groups.find(gid);
if (g)
{
g->setLimit(limit);
diff --git a/libktorrent/net/portlist.cpp b/libktorrent/net/portlist.cpp
index 6fa4f6a..56076ed 100644
--- a/libktorrent/net/portlist.cpp
+++ b/libktorrent/net/portlist.cpp
@@ -58,7 +58,7 @@ namespace net
void PortList::removePort(bt::Uint16 number,Protocol proto)
{
- PortList::iterator itr = tqfind(Port(number,proto,false));
+ PortList::iterator itr = find(Port(number,proto,false));
if (itr == end())
return;
diff --git a/libktorrent/net/uploadthread.cpp b/libktorrent/net/uploadthread.cpp
index 3d2fa0a..0023cf6 100644
--- a/libktorrent/net/uploadthread.cpp
+++ b/libktorrent/net/uploadthread.cpp
@@ -52,9 +52,9 @@ namespace net
BufferedSocket* s = *itr;
if (s && s->ok() && s->bytesReadyToWrite())
{
- SocketGroup* g = groups.tqfind(s->uploadGroupID());
+ SocketGroup* g = groups.find(s->uploadGroupID());
if (!g)
- g = groups.tqfind(0);
+ g = groups.find(0);
g->add(s);
num_ready++;