From d979df2f36840b03425e5dc40907f16d10fe4b5c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:23 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 238d438877620ed73915f2360d820cfc0c9131cc. --- src/knemod/interfacetooltip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/knemod/interfacetooltip.cpp') diff --git a/src/knemod/interfacetooltip.cpp b/src/knemod/interfacetooltip.cpp index aba8e99..a909817 100644 --- a/src/knemod/interfacetooltip.cpp +++ b/src/knemod/interfacetooltip.cpp @@ -68,7 +68,7 @@ void InterfaceToolTip::setupText( TQString& text ) text += "" + mToolTips[2].first + "" + i18n( "Connection established." ) + ""; if ( toolTipContent & UPTIME ) { - int upsecs = mInterface->getStartTime().secsTo( TQDateTime::currentDateTime() ); + int upsecs = mInterface->getStartTime().secsTo( TQDateTime::tqcurrentDateTime() ); int updays = upsecs / 86400; // don't use TQDateTime::daysTo() because // we only want complete days @@ -76,7 +76,7 @@ void InterfaceToolTip::setupText( TQString& text ) if ( updays == 1 ) uptime = "1 day, "; else if ( updays > 1 ) - uptime = TQString( "%1 days, " ).arg( updays ); + uptime = TQString( "%1 days, " ).tqarg( updays ); upsecs -= 86400 * updays; // we only want the seconds of today int hrs = upsecs / 3600; -- cgit v1.2.3