summaryrefslogtreecommitdiffstats
path: root/apps/ktorrent/ktorrentview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:39:49 -0600
committerSlávek Banko <[email protected]>2012-06-06 03:48:48 +0200
commit161e93feae40489201edee480db6802a9a61b0a4 (patch)
tree77e3e4aeae8d388ac7a7f5d1f0a8cf67045ee4a8 /apps/ktorrent/ktorrentview.cpp
parent1d7c126b63cbc97bba847f61e7c9ee89b80a390c (diff)
downloadktorrent-161e93feae40489201edee480db6802a9a61b0a4.tar.gz
ktorrent-161e93feae40489201edee480db6802a9a61b0a4.zip
Remove additional unneeded tq method conversions
(cherry picked from commit bb37c4052a9edfff2196984cef241b1ce2df7bb3)
Diffstat (limited to 'apps/ktorrent/ktorrentview.cpp')
-rw-r--r--apps/ktorrent/ktorrentview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/ktorrent/ktorrentview.cpp b/apps/ktorrent/ktorrentview.cpp
index e445fbb..5c04732 100644
--- a/apps/ktorrent/ktorrentview.cpp
+++ b/apps/ktorrent/ktorrentview.cpp
@@ -198,9 +198,9 @@ void KTorrentView::setCurrentGroup(Group* group)
}
if (current_group)
- setCaption(TQString("%1 %2/%3").tqarg(current_group->groupName()).tqarg(running).tqarg(total));
+ setCaption(TQString("%1 %2/%3").arg(current_group->groupName()).arg(running).arg(total));
else
- setCaption(i18n("All Torrents %1/%2").tqarg(running).tqarg(total));
+ setCaption(i18n("All Torrents %1/%2").arg(running).arg(total));
onSelectionChanged();
onExecuted(view->currentItem());
@@ -208,7 +208,7 @@ void KTorrentView::setCurrentGroup(Group* group)
void KTorrentView::saveSettings(KConfig* cfg,int idx)
{
- TQString group = TQString("KTorrentView-%1").tqarg(idx);
+ TQString group = TQString("KTorrentView-%1").arg(idx);
view->saveLayout(cfg,group);
cfg->setGroup(group);
filter_bar->saveSettings(cfg);
@@ -217,7 +217,7 @@ void KTorrentView::saveSettings(KConfig* cfg,int idx)
void KTorrentView::loadSettings(KConfig* cfg,int idx)
{
- TQString group = TQString("KTorrentView-%1").tqarg(idx);
+ TQString group = TQString("KTorrentView-%1").arg(idx);
view->restoreLayout(cfg,group);
view->setDragEnabled(true);
@@ -373,7 +373,7 @@ void KTorrentView::removeDownloads()
if (!s.completed)
{
TQString msg = i18n("The torrent %1 has not finished downloading, "
- "do you want to delete the incomplete data, too?").tqarg(s.torrent_name);
+ "do you want to delete the incomplete data, too?").arg(s.torrent_name);
int ret = KMessageBox::questionYesNoCancel(
this,msg,i18n("Remove Download"),
i18n("Delete Data"),i18n("Keep Data"));
@@ -546,9 +546,9 @@ void KTorrentView::update()
total = t;
if (current_group)
- setCaption(TQString("%1 %2/%3").tqarg(current_group->groupName()).tqarg(running).tqarg(total));
+ setCaption(TQString("%1 %2/%3").arg(current_group->groupName()).arg(running).arg(total));
else
- setCaption(i18n("All Torrents %1/%2").tqarg(running).tqarg(total));
+ setCaption(i18n("All Torrents %1/%2").arg(running).arg(total));
onSelectionChanged();
}
@@ -628,7 +628,7 @@ void KTorrentView::checkDataIntegrity()
}
else
{
- KMessageBox::error(0,i18n("You are already checking the data of the torrent %1 !").tqarg(tc->getStats().torrent_name));
+ KMessageBox::error(0,i18n("You are already checking the data of the torrent %1 !").arg(tc->getStats().torrent_name));
}
}
@@ -748,7 +748,7 @@ void KTorrentView::setDownloadLocationSlot()
if (tc)
{
TQString dn;
- dn = KFileDialog::getExistingDirectory(tc->getStats().output_path, this, i18n("Choose download location for %1").tqarg(tc->getStats().torrent_name));
+ dn = KFileDialog::getExistingDirectory(tc->getStats().output_path, this, i18n("Choose download location for %1").arg(tc->getStats().torrent_name));
if(dn.isNull() || dn.isEmpty())
continue;
@@ -872,9 +872,9 @@ void KTorrentView::updateCaption()
total = t;
if (current_group)
- setCaption(TQString("%1 %2/%3").tqarg(current_group->groupName()).tqarg(running).tqarg(total));
+ setCaption(TQString("%1 %2/%3").arg(current_group->groupName()).arg(running).arg(total));
else
- setCaption(i18n("All Torrents %1/%2").tqarg(running).tqarg(total));
+ setCaption(i18n("All Torrents %1/%2").arg(running).arg(total));
}
}