diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:23 -0600 |
commit | d979df2f36840b03425e5dc40907f16d10fe4b5c (patch) | |
tree | fcf35fe4a4c90a220e799b51299b00f5cc1bb58b /src/knemod/interfacetooltip.cpp | |
parent | 238d438877620ed73915f2360d820cfc0c9131cc (diff) | |
download | knemo-d979df2f36840b03425e5dc40907f16d10fe4b5c.tar.gz knemo-d979df2f36840b03425e5dc40907f16d10fe4b5c.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 238d438877620ed73915f2360d820cfc0c9131cc.
Diffstat (limited to 'src/knemod/interfacetooltip.cpp')
-rw-r--r-- | src/knemod/interfacetooltip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 += "<tr><td>" + mToolTips[2].first + "</td><td>" + i18n( "Connection established." ) + "</td></tr>"; 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; |