summaryrefslogtreecommitdiffstats
path: root/ksirc/dccManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/dccManager.cpp')
-rw-r--r--ksirc/dccManager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ksirc/dccManager.cpp b/ksirc/dccManager.cpp
index 47763faa..386644b9 100644
--- a/ksirc/dccManager.cpp
+++ b/ksirc/dccManager.cpp
@@ -38,7 +38,7 @@ dccItem::dccItem( KListView *parent, dccManager *manager, enum dccType type, con
if(m_type == dccChat)
setText(COL_SIZE, "");
else
- setText(COL_SIZE, TQString("%1").tqarg(size));
+ setText(COL_SIZE, TQString("%1").arg(size));
setText(COL_PER, "");
}
@@ -56,7 +56,7 @@ dccItem::dccItem( KListViewItem *parent, dccManager *manager, enum dccType type,
setText(COL_WHO, who);
setText(COL_STAT, enumToStatus(status));
if(type != dccChat)
- setText(COL_SIZE, TQString("%1").tqarg(size));
+ setText(COL_SIZE, TQString("%1").arg(size));
setText(COL_PER, "");
}
@@ -108,7 +108,7 @@ TQString dccItem::enumToStatus(enum dccStatus status)
void dccItem::setWhoPostfix(const TQString &post) {
m_post = post;
- setText(COL_WHO, TQString("%1 %2").tqarg(m_who).tqarg(post));
+ setText(COL_WHO, TQString("%1 %2").arg(m_who).arg(post));
}
void dccItem::changeFilename(const TQString &file) {
@@ -146,13 +146,13 @@ void dccItem::setReceivedBytes(int bytes)
(ctime >= (m_lasttime + 2))
){
m_lasttime = ctime;
- setText(COL_SIZE, TQString("%1/%2").tqarg(bytes).tqarg(m_size));
- setText(COL_PER, TQString("%1%").tqarg(per));
+ setText(COL_SIZE, TQString("%1/%2").arg(bytes).arg(m_size));
+ setText(COL_PER, TQString("%1%").arg(per));
m_percent = per;
if(m_status == dccResumed)
m_stime = 0; /* if we are got a resume request don't update CPS, reset it */
else
- setText(COL_CPS, TQString("%1").tqarg(1.0*bytes/(time(NULL) - m_stime), 2));
+ setText(COL_CPS, TQString("%1").arg(1.0*bytes/(time(NULL) - m_stime), 2));
}