summaryrefslogtreecommitdiffstats
path: root/plugins/infowidget
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infowidget')
-rw-r--r--plugins/infowidget/chunkdownloadview.cpp2
-rw-r--r--plugins/infowidget/flagdb.cpp2
-rw-r--r--plugins/infowidget/peerview.cpp2
3 files changed, 3 insertions, 3 deletions
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<FlagDBSource>::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<kt::PeerInterface*,PeerViewItem*>::iterator it = items.tqfind(peer);
+ TQMap<kt::PeerInterface*,PeerViewItem*>::iterator it = items.find(peer);
if (it == items.end())
{
return;