summaryrefslogtreecommitdiffstats
path: root/kpackage/kissInterface.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
commit4a25ca5c80d9b88fdc1a0d44d1db47da47206899 (patch)
tree8a1d1e893a80df8ad5233802c2b0e39220b86168 /kpackage/kissInterface.cpp
parent441266d591a9064dd619da0e1bd49b871d6a9c70 (diff)
downloadtdeadmin-4a25ca5c80d9b88fdc1a0d44d1db47da47206899.tar.gz
tdeadmin-4a25ca5c80d9b88fdc1a0d44d1db47da47206899.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpackage/kissInterface.cpp')
-rw-r--r--kpackage/kissInterface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpackage/kissInterface.cpp b/kpackage/kissInterface.cpp
index 31a9efc..4ed7c74 100644
--- a/kpackage/kissInterface.cpp
+++ b/kpackage/kissInterface.cpp
@@ -103,7 +103,7 @@ bool KISS::isType(char *buf, const TQString &)
{
if (hasProgram) {
TQString tmp = buf;
- if (tmp.tqfind("perl",0,false) >= 0)
+ if (tmp.find("perl",0,false) >= 0)
return true;
else
return false;
@@ -116,11 +116,11 @@ bool KISS::parseName(const TQString& name, TQString *n, TQString *v)
{
int d1, d2, s1;
- s1 = name.tqfindRev('.');
+ s1 = name.findRev('.');
if (s1 > 0) {
- d2 = name.tqfindRev('-',s1-1);
+ d2 = name.findRev('-',s1-1);
if (d2 > 0) {
- d1 = name.tqfindRev('_',d2-1);
+ d1 = name.findRev('_',d2-1);
if (d1 < 0)
d1 = d2;
*n = name.left(d1);
@@ -149,7 +149,7 @@ void KISS::listInstalledPackages(TQPtrList<packageInfo> *pki)
vb = "" ;
int sc, sp = 0;
- while ((sc = reader.buf.tqfind("\n\n",sp)) >= 0) {
+ while ((sc = reader.buf.find("\n\n",sp)) >= 0) {
if (sc+1 == (signed int)reader.buf.length())
break;
p = collectInfo(reader.buf.mid(sp,sc-sp).ascii());