From 6df9eac4b9928768bf0c3dc988bac1c0c1fbb685 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:04 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 5fb78f4b68672906005b059e7e5066c702bc5c90. --- kradio3/src/standardscandialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kradio3/src/standardscandialog.cpp') diff --git a/kradio3/src/standardscandialog.cpp b/kradio3/src/standardscandialog.cpp index b738618..b96f794 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::currentDateTime(); + m_startTime = TQDateTime::tqcurrentDateTime(); 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::currentDateTime()); + int secs = m_startTime.secsTo(TQDateTime::tqcurrentDateTime()); int ms = (int)rint((1 - f) * (float) secs / f * 1000.0); if (ms > 0 && ms < 86400000) // max one day - labelTime->setText(i18n("

%1

").arg(TQTime(0,0).addMSecs(ms).toString())); + labelTime->setText(i18n("

%1

").tqarg(TQTime(0,0).addMSecs(ms).toString())); else labelTime->setText(i18n("unknown")); -- cgit v1.2.1