summaryrefslogtreecommitdiffstats
path: root/lib/compatibility/knewstuff/downloaddialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:01:04 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-19 19:42:53 +0200
commit39356ff58b6a5a76b0ee7fa85c538598ededdeff (patch)
treea1b23858695a8eb832455abc977da3a9160a661b /lib/compatibility/knewstuff/downloaddialog.cpp
parenta177b05ccc4f6a94c52944e4015831d766058b0e (diff)
downloadtdewebdev-39356ff58b6a5a76b0ee7fa85c538598ededdeff.tar.gz
tdewebdev-39356ff58b6a5a76b0ee7fa85c538598ededdeff.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 84c989c19db5daab602a67f47ca0f5fd7a2b53d2)
Diffstat (limited to 'lib/compatibility/knewstuff/downloaddialog.cpp')
-rw-r--r--lib/compatibility/knewstuff/downloaddialog.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/compatibility/knewstuff/downloaddialog.cpp b/lib/compatibility/knewstuff/downloaddialog.cpp
index c548f400..f1942f7f 100644
--- a/lib/compatibility/knewstuff/downloaddialog.cpp
+++ b/lib/compatibility/knewstuff/downloaddialog.cpp
@@ -364,9 +364,9 @@ void DownloadDialog::addEntry(Entry *entry)
else pix = TQPixmap();
KListViewItem *tmp_r = new KListViewItem(lv_r,
- entry->name(), entry->version(), TQString("%1").tqarg(entry->rating()));
+ entry->name(), entry->version(), TQString("%1").arg(entry->rating()));
KListViewItem *tmp_d = new NumSortListViewItem(lv_d,
- entry->name(), entry->version(), TQString("%1").tqarg(entry->downloads()));
+ entry->name(), entry->version(), TQString("%1").arg(entry->downloads()));
KListViewItem *tmp_l = new KListViewItem(lv_l,
entry->name(), entry->version(), KGlobal::locale()->formatDate(entry->releaseDate()));
@@ -403,23 +403,23 @@ void DownloadDialog::slotDetails()
"Downloads: %7\n"
"Release date: %8\n"
"Summary: %9\n"
- ).tqarg(e->name()
- ).tqarg(e->author()
- ).tqarg(e->license()
- ).tqarg(e->version()
- ).tqarg(e->release()
- ).tqarg(e->rating()
- ).tqarg(e->downloads()
- ).tqarg(KGlobal::locale()->formatDate(e->releaseDate())
- ).tqarg(e->summary(lang)
+ ).arg(e->name()
+ ).arg(e->author()
+ ).arg(e->license()
+ ).arg(e->version()
+ ).arg(e->release()
+ ).arg(e->rating()
+ ).arg(e->downloads()
+ ).arg(KGlobal::locale()->formatDate(e->releaseDate())
+ ).arg(e->summary(lang)
);
info.append(i18n
(
"Preview: %1\n"
"Payload: %2\n"
- ).tqarg(e->preview().url()
- ).tqarg(e->payload().url()
+ ).arg(e->preview().url()
+ ).arg(e->payload().url()
));
KMessageBox::information(this, info, i18n("Details"));
@@ -514,14 +514,14 @@ void DownloadDialog::slotSelected()
{
if(!e->preview(lang).isValid())
{
- m_rt->setText(TQString("<b>%1</b><br>%2<br>%3<br><br><i>%4</i><br>(%5)").tqarg(
- e->name()).tqarg(e->author()).tqarg(KGlobal::locale()->formatDate(e->releaseDate())).tqarg(e->summary(lang)).tqarg(e->license()));
+ m_rt->setText(TQString("<b>%1</b><br>%2<br>%3<br><br><i>%4</i><br>(%5)").arg(
+ e->name()).arg(e->author()).arg(KGlobal::locale()->formatDate(e->releaseDate())).arg(e->summary(lang)).arg(e->license()));
}
else
{
KIO::NetAccess::download(e->preview(lang), tmp, this);
- m_rt->setText(TQString("<b>%1</b><br>%2<br>%3<br><br><img src='%4'><br><i>%5</i><br>(%6)").tqarg(
- e->name()).tqarg(e->author()).tqarg(KGlobal::locale()->formatDate(e->releaseDate())).tqarg(tmp).tqarg(e->summary(lang)).tqarg(e->license()));
+ m_rt->setText(TQString("<b>%1</b><br>%2<br>%3<br><br><img src='%4'><br><i>%5</i><br>(%6)").arg(
+ e->name()).arg(e->author()).arg(KGlobal::locale()->formatDate(e->releaseDate())).arg(tmp).arg(e->summary(lang)).arg(e->license()));
}
if(installStatus(e) == 1) enabled = false;