diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:56 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:56 -0600 |
commit | f96f74ffa7040e64ae3352e08c810c383c8a0ba2 (patch) | |
tree | 8f4cdf2f66860234f9ae889cd483b44150affb2c /plugins/infowidget/statustab.cpp | |
parent | 0ad9f974f4ad92a3f1458a76d4df26d843efeab7 (diff) | |
download | ktorrent-f96f74ffa7040e64ae3352e08c810c383c8a0ba2.tar.gz ktorrent-f96f74ffa7040e64ae3352e08c810c383c8a0ba2.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'plugins/infowidget/statustab.cpp')
-rw-r--r-- | plugins/infowidget/statustab.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/infowidget/statustab.cpp b/plugins/infowidget/statustab.cpp index 7317437..44fe656 100644 --- a/plugins/infowidget/statustab.cpp +++ b/plugins/infowidget/statustab.cpp @@ -37,7 +37,7 @@ namespace kt StatusTab::StatusTab(TQWidget* parent, const char* name, WFlags fl) : StatusTabBase(parent,name,fl),curr_tc(0) { - TQColorGroup cg = tqcolorGroup(); + TQColorGroup cg = colorGroup(); // do not use hardcoded colors m_info_caption->setPaletteBackgroundColor(cg.mid()); m_chunks_caption->setPaletteBackgroundColor(cg.mid()); @@ -142,16 +142,16 @@ namespace kt m_tracker_status->setText(s.trackerstatus); m_seeders->setText(TQString("%1 (%2)") - .tqarg(s.seeders_connected_to).tqarg(s.seeders_total)); + .arg(s.seeders_connected_to).arg(s.seeders_total)); m_leechers->setText(TQString("%1 (%2)") - .tqarg(s.leechers_connected_to).tqarg(s.leechers_total)); + .arg(s.leechers_connected_to).arg(s.leechers_total)); float ratio = kt::ShareRatio(s); if(!maxRatio->hasFocus() && useLimit->isChecked()) maxRatioUpdate(); - m_share_ratio->setText(TQString("<font color=\"%1\">%2</font>").tqarg(ratio <= 0.8 ? "#ff0000" : "#1c9a1c").tqarg(KGlobal::locale()->formatNumber(ratio,2))); + m_share_ratio->setText(TQString("<font color=\"%1\">%2</font>").arg(ratio <= 0.8 ? "#ff0000" : "#1c9a1c").arg(KGlobal::locale()->formatNumber(ratio,2))); Uint32 secs = curr_tc->getRunningTimeUL(); if (secs == 0) |