summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/disksensor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /superkaramba/src/disksensor.cpp
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 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 b53c6e3..a896ebe 100644
--- a/superkaramba/src/disksensor.cpp
+++ b/superkaramba/src/disksensor.cpp
@@ -114,31 +114,31 @@ void DiskSensor::processExited(KProcess *)
{
format = "%u";
}
- format.replace( TQRegExp("%fp", false),TQString::number(getPercentFree(mntPt)));
- format.replace( TQRegExp("%fg",false),
+ format.tqreplace( TQRegExp("%fp", false),TQString::number(getPercentFree(mntPt)));
+ format.tqreplace( TQRegExp("%fg",false),
TQString::number(getFreeSpace(mntPt)/(1024*1024)));
- format.replace( TQRegExp("%fkb",false),
+ format.tqreplace( TQRegExp("%fkb",false),
TQString::number(getFreeSpace(mntPt)*8) );
- format.replace( TQRegExp("%fk",false),
+ format.tqreplace( TQRegExp("%fk",false),
TQString::number(getFreeSpace(mntPt)) );
- format.replace( TQRegExp("%f", false),TQString::number(getFreeSpace(mntPt)/1024));
+ format.tqreplace( TQRegExp("%f", false),TQString::number(getFreeSpace(mntPt)/1024));
- format.replace( TQRegExp("%up", false),TQString::number(getPercentUsed(mntPt)));
- format.replace( TQRegExp("%ug",false),
+ format.tqreplace( TQRegExp("%up", false),TQString::number(getPercentUsed(mntPt)));
+ format.tqreplace( TQRegExp("%ug",false),
TQString::number(getUsedSpace(mntPt)/(1024*1024)));
- format.replace( TQRegExp("%ukb",false),
+ format.tqreplace( TQRegExp("%ukb",false),
TQString::number(getUsedSpace(mntPt)*8) );
- format.replace( TQRegExp("%uk",false),
+ format.tqreplace( TQRegExp("%uk",false),
TQString::number(getUsedSpace(mntPt)) );
- format.replace( TQRegExp("%u", false),TQString::number(getUsedSpace(mntPt)/1024));
+ format.tqreplace( TQRegExp("%u", false),TQString::number(getUsedSpace(mntPt)/1024));
- format.replace( TQRegExp("%tg",false),
+ format.tqreplace( TQRegExp("%tg",false),
TQString::number(getTotalSpace(mntPt)/(1024*1024)));
- format.replace( TQRegExp("%tkb",false),
+ format.tqreplace( TQRegExp("%tkb",false),
TQString::number(getTotalSpace(mntPt)*8));
- format.replace( TQRegExp("%tk",false),
+ format.tqreplace( TQRegExp("%tk",false),
TQString::number(getTotalSpace(mntPt)));
- format.replace( TQRegExp("%t", false),TQString::number(getTotalSpace(mntPt)/1024));
+ format.tqreplace( TQRegExp("%t", false),TQString::number(getTotalSpace(mntPt)/1024));
meter->setValue(format);
++lit;
}