diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:05 -0600 |
commit | 238d438877620ed73915f2360d820cfc0c9131cc (patch) | |
tree | ddb04b2506c33b255ac5ac573b13c308a2a1ba96 /src/knemod/interfacetooltip.cpp | |
parent | a1a658649b5cdda8bd7a7c4eae583d4dd7e0acf3 (diff) | |
download | knemo-238d438877620ed73915f2360d820cfc0c9131cc.tar.gz knemo-238d438877620ed73915f2360d820cfc0c9131cc.zip |
Rename a number of old tq methods that are no longer tq specific
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 a909817..aba8e99 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::tqcurrentDateTime() ); + int upsecs = mInterface->getStartTime().secsTo( TQDateTime::currentDateTime() ); 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, " ).tqarg( updays ); + uptime = TQString( "%1 days, " ).arg( updays ); upsecs -= 86400 * updays; // we only want the seconds of today int hrs = upsecs / 3600; |