summaryrefslogtreecommitdiffstats
path: root/src/inactivity.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
commitfe9b5d95c9a717fea16685ed7c175e1659d7127c (patch)
treed25f548cddafc13b0336fd1a900ce01a62c4c88c /src/inactivity.cpp
parent3cdd44798b7565639ca08dc051fbe21e41d546fa (diff)
downloadtdepowersave-fe9b5d95c9a717fea16685ed7c175e1659d7127c.tar.gz
tdepowersave-fe9b5d95c9a717fea16685ed7c175e1659d7127c.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/inactivity.cpp')
-rw-r--r--src/inactivity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inactivity.cpp b/src/inactivity.cpp
index d1d9204..8dde0b7 100644
--- a/src/inactivity.cpp
+++ b/src/inactivity.cpp
@@ -325,7 +325,7 @@ void inactivity::getPIDs(KProcess */*proc*/, char *buffer, int /*lenght*/) {
blacklisted_running = false;
}
else {
- if (pids.tqcontains(TQRegExp("[0-9]"))) {
+ if (pids.contains(TQRegExp("[0-9]"))) {
kdDebug() << "BLACKLISTED IS RUNNING" << endl;
blacklisted_running = true;
blacklisted_running_last = idleTime;