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 --- plugins/infowidget/chunkdownloadview.cpp | 2 +- plugins/infowidget/flagdb.cpp | 2 +- plugins/infowidget/peerview.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/infowidget') diff --git a/plugins/infowidget/chunkdownloadview.cpp b/plugins/infowidget/chunkdownloadview.cpp index 3258441..cec3386 100644 --- a/plugins/infowidget/chunkdownloadview.cpp +++ b/plugins/infowidget/chunkdownloadview.cpp @@ -95,7 +95,7 @@ namespace kt void ChunkDownloadView::removeDownload(kt::ChunkDownloadInterface* cd) { - if (!items.tqcontains(cd)) + if (!items.contains(cd)) return; ChunkDownloadViewItem* it = items[cd]; diff --git a/plugins/infowidget/flagdb.cpp b/plugins/infowidget/flagdb.cpp index ceea6fc..c7ec520 100644 --- a/plugins/infowidget/flagdb.cpp +++ b/plugins/infowidget/flagdb.cpp @@ -92,7 +92,7 @@ bool kt::FlagDB::isFlagAvailable(const TQString& country) const TQPixmap& kt::FlagDB::getFlag(const TQString& country) { const TQString& c = country.lower(); - if (!db.tqcontains(c)) { + if (!db.contains(c)) { TQImage img; TQPixmap pixmap; for (TQValueList::const_iterator it = sources.constBegin(); it != sources.constEnd(); it++) { diff --git a/plugins/infowidget/peerview.cpp b/plugins/infowidget/peerview.cpp index a3876c6..a6b0675 100644 --- a/plugins/infowidget/peerview.cpp +++ b/plugins/infowidget/peerview.cpp @@ -267,7 +267,7 @@ namespace kt void PeerView::removePeer(kt::PeerInterface* peer) { - TQMap::iterator it = items.tqfind(peer); + TQMap::iterator it = items.find(peer); if (it == items.end()) { return; -- cgit v1.2.1