summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:53:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:53:50 -0600
commitf64397c82fa94371ab4a64af28c4d0029f4cd93f (patch)
treecdb72f3faadbcebe60088800f27df1ec23ad15d8 /ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
parent628043be55ddd2f534411d028e4f68c8fe4eaabb (diff)
downloadtdebase-f64397c82fa94371ab4a64af28c4d0029f4cd93f.tar.gz
tdebase-f64397c82fa94371ab4a64af28c4d0029f4cd93f.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/SensorDisplay.cc')
-rw-r--r--ksysguard/gui/SensorDisplayLib/SensorDisplay.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
index c4ff6a649..03ee4b991 100644
--- a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
+++ b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
@@ -219,14 +219,14 @@ void SensorDisplay::sensorError( int sensorId, bool err )
if ( sensorId >= (int)mSensors.count() || sensorId < 0 )
return;
- if ( err == mSensors.tqat( sensorId )->isOk() ) {
+ if ( err == mSensors.at( sensorId )->isOk() ) {
// this happens only when the sensorOk status needs to be changed.
- mSensors.tqat( sensorId )->setIsOk( !err );
+ mSensors.at( sensorId )->setIsOk( !err );
}
bool ok = true;
for ( uint i = 0; i < mSensors.count(); ++i )
- if ( !mSensors.tqat( i )->isOk() ) {
+ if ( !mSensors.at( i )->isOk() ) {
ok = false;
break;
}
@@ -524,7 +524,7 @@ void SensorDisplay::reorderSensors(const TQValueList<int> &orderOfSensors)
{
TQPtrList<SensorProperties> newSensors;
for ( uint i = 0; i < orderOfSensors.count(); ++i ) {
- newSensors.append( mSensors.tqat(orderOfSensors[i] ));
+ newSensors.append( mSensors.at(orderOfSensors[i] ));
}
mSensors.setAutoDelete( false );