summaryrefslogtreecommitdiffstats
path: root/kscd
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
commit7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (patch)
tree48ff13dab43883d19ecf2272b8ba72a013d5bc57 /kscd
parentc05ca496a526b3fc192dbfafe0955e5824b22e08 (diff)
downloadtdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.tar.gz
tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscd')
-rw-r--r--kscd/kscd.cpp4
-rw-r--r--kscd/libwm/database.c2
-rw-r--r--kscd/libwm/plat_linux.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/kscd/kscd.cpp b/kscd/kscd.cpp
index ef944999..7c8af4b1 100644
--- a/kscd/kscd.cpp
+++ b/kscd/kscd.cpp
@@ -881,7 +881,7 @@ void KSCD::make_random_list()
{
do {
selected = 1 + (int) randSequence.getLong(m_cd->tracks());
- rejected = (random_list.tqfind(selected) != random_list.end());
+ rejected = (random_list.find(selected) != random_list.end());
} while(rejected == true);
random_list.append(selected);
}
@@ -1245,7 +1245,7 @@ void KSCD::lookupCDDBDone(CDDB::Result result)
void KSCD::setCDInfo(KCDDB::CDInfo info)
{
// Some sanity provisions to ensure that the number of records matches what
- // the CD actually tqcontains.
+ // the CD actually contains.
while (info.trackInfoList.count() < cddbInfo.trackInfoList.count())
{
info.trackInfoList.append(KCDDB::TrackInfo());
diff --git a/kscd/libwm/database.c b/kscd/libwm/database.c
index 617905eb..62d66a32 100644
--- a/kscd/libwm/database.c
+++ b/kscd/libwm/database.c
@@ -192,7 +192,7 @@ nomem:
#ifndef NDEBUG
fprintf(stderr,
"WorkMan was run without a home directory, probably by a system daemon.\n");
- fprintf(stderr, "It doesn't know where to tqfind ");
+ fprintf(stderr, "It doesn't know where to find ");
if (no_rc)
{
fprintf(stderr, "your personal preferences file ");
diff --git a/kscd/libwm/plat_linux.c b/kscd/libwm/plat_linux.c
index 1d473ce2..8852ba16 100644
--- a/kscd/libwm/plat_linux.c
+++ b/kscd/libwm/plat_linux.c
@@ -43,7 +43,7 @@
#if 0
/* this breaks the build on ia64 and s390 for example.
sys/types.h is already included and should provide __u64.
- please tell where we really need this and let's try to tqfind
+ please tell where we really need this and let's try to find
a working #if case for everyone ... adrian@suse.de */
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50)) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,21) && LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
#undef __GNUC__