From 2a99db3ebc4c211e436f95fde24b5ac6826d0267 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- libktorrent/torrent/udptrackersocket.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libktorrent/torrent/udptrackersocket.cpp') diff --git a/libktorrent/torrent/udptrackersocket.cpp b/libktorrent/torrent/udptrackersocket.cpp index 79e9c5c..e440e3c 100644 --- a/libktorrent/torrent/udptrackersocket.cpp +++ b/libktorrent/torrent/udptrackersocket.cpp @@ -105,7 +105,7 @@ namespace bt // Read the transaction_id and check it Int32 tid = ReadInt32(buf,4); - TQMap::iterator i = transactions.tqfind(tid); + TQMap::iterator i = transactions.find(tid); // if we can't find the transaction, just return if (i == transactions.end()) { @@ -131,7 +131,7 @@ namespace bt // Read the transaction_id and check it Int32 tid = ReadInt32(buf,4); - TQMap::iterator i = transactions.tqfind(tid); + TQMap::iterator i = transactions.find(tid); // if we can't find the transaction, just return if (i == transactions.end()) return; @@ -154,7 +154,7 @@ namespace bt const Uint8* buf = (const Uint8*)data.data(); // Read the transaction_id and check it Int32 tid = ReadInt32(buf,4); - TQMap::iterator it = transactions.tqfind(tid); + TQMap::iterator it = transactions.find(tid); // if we can't find the transaction, just return if (it == transactions.end()) return; @@ -203,7 +203,7 @@ namespace bt Int32 UDPTrackerSocket::newTransactionID() { Int32 transaction_id = rand() * time(0); - while (transactions.tqcontains(transaction_id)) + while (transactions.contains(transaction_id)) transaction_id++; return transaction_id; } -- cgit v1.2.1