diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:08:37 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:08:37 -0600 |
commit | b6f3912adcfbbeea3415c287426bd771cd9170b9 (patch) | |
tree | 14ae73178ff71950cd4c6452add8394a13b62afa /src/knemod/backends | |
parent | ed6b24997e06a9a14d0f47cfbfafdd2473cf856d (diff) | |
download | knemo-b6f3912adcfbbeea3415c287426bd771cd9170b9.tar.gz knemo-b6f3912adcfbbeea3415c287426bd771cd9170b9.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/knemod/backends')
-rw-r--r-- | src/knemod/backends/nettoolsbackend.cpp | 4 | ||||
-rw-r--r-- | src/knemod/backends/sysbackend.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/knemod/backends/nettoolsbackend.cpp b/src/knemod/backends/nettoolsbackend.cpp index fbd6995..2b36c69 100644 --- a/src/knemod/backends/nettoolsbackend.cpp +++ b/src/knemod/backends/nettoolsbackend.cpp @@ -277,7 +277,7 @@ void NetToolsBackend::updateInterfaceData( TQString& config, InterfaceData& data data.incomingBytes = currentRxBytes - data.prevRxBytes; data.prevRxBytes = currentRxBytes; - data.rxString = KIO::convertSize( data.rxBytes ); + data.rxString = TDEIO::convertSize( data.rxBytes ); } regExp.setPattern( "TX bytes:(\\d+)\\s*\\(\\d+\\.\\d+\\s*\\w+\\)" ); @@ -312,7 +312,7 @@ void NetToolsBackend::updateInterfaceData( TQString& config, InterfaceData& data data.outgoingBytes = currentTxBytes - data.prevTxBytes; data.prevTxBytes = currentTxBytes; - data.txString = KIO::convertSize( data.txBytes ); + data.txString = TDEIO::convertSize( data.txBytes ); } regExp.setPattern( "inet\\s+\\w+:(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})" ); diff --git a/src/knemod/backends/sysbackend.cpp b/src/knemod/backends/sysbackend.cpp index 14e4285..60eac96 100644 --- a/src/knemod/backends/sysbackend.cpp +++ b/src/knemod/backends/sysbackend.cpp @@ -208,7 +208,7 @@ void SysBackend::updateInterfaceData( const TQString& ifName, InterfaceData& dat data.incomingBytes = rxBytes - data.prevRxBytes; data.prevRxBytes = rxBytes; - data.rxString = KIO::convertSize( data.rxBytes ); + data.rxString = TDEIO::convertSize( data.rxBytes ); } unsigned int txBytes = 0; @@ -242,7 +242,7 @@ void SysBackend::updateInterfaceData( const TQString& ifName, InterfaceData& dat data.outgoingBytes = txBytes - data.prevTxBytes; data.prevTxBytes = txBytes; - data.txString = KIO::convertSize( data.txBytes ); + data.txString = TDEIO::convertSize( data.txBytes ); } if ( type == Interface::ETHERNET ) |