From 6335dc55802871b5a43492f217b6edbb420204c4 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- superkaramba/src/cpusensor.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'superkaramba/src/cpusensor.cpp') diff --git a/superkaramba/src/cpusensor.cpp b/superkaramba/src/cpusensor.cpp index 164572c..1cf9a06 100644 --- a/superkaramba/src/cpusensor.cpp +++ b/superkaramba/src/cpusensor.cpp @@ -145,12 +145,12 @@ void CPUSensor::update() { format = "%v"; } - format.tqreplace( TQRegExp("%load", false), TQString::number( load ) ); - format.tqreplace( TQRegExp("%user", false), TQString::number( user ) ); - format.tqreplace( TQRegExp("%nice", false), TQString::number( nice ) ); - format.tqreplace( TQRegExp("%idle", false), TQString::number( idle ) ); - format.tqreplace( TQRegExp("%system", false), TQString::number( system ) ); - format.tqreplace( TQRegExp("%v", false), TQString::number( load ) ); + format.replace( TQRegExp("%load", false), TQString::number( load ) ); + format.replace( TQRegExp("%user", false), TQString::number( user ) ); + format.replace( TQRegExp("%nice", false), TQString::number( nice ) ); + format.replace( TQRegExp("%idle", false), TQString::number( idle ) ); + format.replace( TQRegExp("%system", false), TQString::number( system ) ); + format.replace( TQRegExp("%v", false), TQString::number( load ) ); meter->setValue( format ); ++it; -- cgit v1.2.1