summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/disksensor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit6335dc55802871b5a43492f217b6edbb420204c4 (patch)
tree50c6c8672a52687568edea475614dfe3d98e62e5 /superkaramba/src/disksensor.cpp
parent9b8c9f1f9e974ff0176108cfbd8852cd99ea68c8 (diff)
downloadtdeutils-6335dc55802871b5a43492f217b6edbb420204c4.tar.gz
tdeutils-6335dc55802871b5a43492f217b6edbb420204c4.zip
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
Diffstat (limited to 'superkaramba/src/disksensor.cpp')
-rw-r--r--superkaramba/src/disksensor.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/superkaramba/src/disksensor.cpp b/superkaramba/src/disksensor.cpp
index a896ebe..b53c6e3 100644
--- a/superkaramba/src/disksensor.cpp
+++ b/superkaramba/src/disksensor.cpp
@@ -114,31 +114,31 @@ void DiskSensor::processExited(KProcess *)
{
format = "%u";
}
- format.tqreplace( TQRegExp("%fp", false),TQString::number(getPercentFree(mntPt)));
- format.tqreplace( TQRegExp("%fg",false),
+ format.replace( TQRegExp("%fp", false),TQString::number(getPercentFree(mntPt)));
+ format.replace( TQRegExp("%fg",false),
TQString::number(getFreeSpace(mntPt)/(1024*1024)));
- format.tqreplace( TQRegExp("%fkb",false),
+ format.replace( TQRegExp("%fkb",false),
TQString::number(getFreeSpace(mntPt)*8) );
- format.tqreplace( TQRegExp("%fk",false),
+ format.replace( TQRegExp("%fk",false),
TQString::number(getFreeSpace(mntPt)) );
- format.tqreplace( TQRegExp("%f", false),TQString::number(getFreeSpace(mntPt)/1024));
+ format.replace( TQRegExp("%f", false),TQString::number(getFreeSpace(mntPt)/1024));
- format.tqreplace( TQRegExp("%up", false),TQString::number(getPercentUsed(mntPt)));
- format.tqreplace( TQRegExp("%ug",false),
+ format.replace( TQRegExp("%up", false),TQString::number(getPercentUsed(mntPt)));
+ format.replace( TQRegExp("%ug",false),
TQString::number(getUsedSpace(mntPt)/(1024*1024)));
- format.tqreplace( TQRegExp("%ukb",false),
+ format.replace( TQRegExp("%ukb",false),
TQString::number(getUsedSpace(mntPt)*8) );
- format.tqreplace( TQRegExp("%uk",false),
+ format.replace( TQRegExp("%uk",false),
TQString::number(getUsedSpace(mntPt)) );
- format.tqreplace( TQRegExp("%u", false),TQString::number(getUsedSpace(mntPt)/1024));
+ format.replace( TQRegExp("%u", false),TQString::number(getUsedSpace(mntPt)/1024));
- format.tqreplace( TQRegExp("%tg",false),
+ format.replace( TQRegExp("%tg",false),
TQString::number(getTotalSpace(mntPt)/(1024*1024)));
- format.tqreplace( TQRegExp("%tkb",false),
+ format.replace( TQRegExp("%tkb",false),
TQString::number(getTotalSpace(mntPt)*8));
- format.tqreplace( TQRegExp("%tk",false),
+ format.replace( TQRegExp("%tk",false),
TQString::number(getTotalSpace(mntPt)));
- format.tqreplace( TQRegExp("%t", false),TQString::number(getTotalSpace(mntPt)/1024));
+ format.replace( TQRegExp("%t", false),TQString::number(getTotalSpace(mntPt)/1024));
meter->setValue(format);
++lit;
}