summaryrefslogtreecommitdiffstats
path: root/kradio3/src/standardscandialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:31 -0600
commit5fb78f4b68672906005b059e7e5066c702bc5c90 (patch)
tree715819ae8220ea037525fe5d7f15f7879c137b88 /kradio3/src/standardscandialog.cpp
parentb66ecc4a25ee7b26513ffe3c91ffbed7fe313a0d (diff)
downloadtderadio-5fb78f4b68672906005b059e7e5066c702bc5c90.tar.gz
tderadio-5fb78f4b68672906005b059e7e5066c702bc5c90.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kradio3/src/standardscandialog.cpp')
-rw-r--r--kradio3/src/standardscandialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kradio3/src/standardscandialog.cpp b/kradio3/src/standardscandialog.cpp
index b96f794..b738618 100644
--- a/kradio3/src/standardscandialog.cpp
+++ b/kradio3/src/standardscandialog.cpp
@@ -67,7 +67,7 @@ void StandardScanDialog::start()
if (!m_running) {
m_running = true;
m_stations.all().clear();
- m_startTime = TQDateTime::tqcurrentDateTime();
+ m_startTime = TQDateTime::currentDateTime();
m_oldPowerOn = queryIsPowerOn();
m_oldStation = queryCurrentStation().copy();
sendToBeginning();
@@ -153,11 +153,11 @@ bool StandardScanDialog::noticeProgress (float f)
progressBar->setProgress((int)rint(f * 100));
if (m_running) {
- int secs = m_startTime.secsTo(TQDateTime::tqcurrentDateTime());
+ int secs = m_startTime.secsTo(TQDateTime::currentDateTime());
int ms = (int)rint((1 - f) * (float) secs / f * 1000.0);
if (ms > 0 && ms < 86400000) // max one day
- labelTime->setText(i18n("<p align=\"right\">%1</p>").tqarg(TQTime(0,0).addMSecs(ms).toString()));
+ labelTime->setText(i18n("<p align=\"right\">%1</p>").arg(TQTime(0,0).addMSecs(ms).toString()));
else
labelTime->setText(i18n("unknown"));