summaryrefslogtreecommitdiffstats
path: root/kdcop
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
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kdcop
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdcop')
-rw-r--r--kdcop/kdcoplistview.cpp8
-rw-r--r--kdcop/kdcopwindow.cpp10
2 files changed, 9 insertions, 9 deletions
diff --git a/kdcop/kdcoplistview.cpp b/kdcop/kdcoplistview.cpp
index 7348fbc01..cc727072b 100644
--- a/kdcop/kdcoplistview.cpp
+++ b/kdcop/kdcoplistview.cpp
@@ -62,7 +62,7 @@ TQString KDCOPListView::encode(TQListViewItem *theCode)
TQString unNormalisedSignature(function);
- int s = unNormalisedSignature.tqfind(' ');
+ int s = unNormalisedSignature.find(' ');
if ( s < 0 )
s = 0;
@@ -71,8 +71,8 @@ TQString KDCOPListView::encode(TQListViewItem *theCode)
unNormalisedSignature = unNormalisedSignature.mid(s);
- int left = unNormalisedSignature.tqfind('(');
- int right = unNormalisedSignature.tqfindRev(')');
+ int left = unNormalisedSignature.find('(');
+ int right = unNormalisedSignature.findRev(')');
if (-1 == left)
{
@@ -86,7 +86,7 @@ TQString KDCOPListView::encode(TQListViewItem *theCode)
for (TQStringList::Iterator it = types.begin(); it != types.end(); ++it)
{
(*it) = (*it).stripWhiteSpace();
- int s = (*it).tqfind(' ');
+ int s = (*it).find(' ');
if (-1 != s)
{
names.append((*it).mid(s + 1));
diff --git a/kdcop/kdcopwindow.cpp b/kdcop/kdcopwindow.cpp
index d8f6b4b3d..212376a0a 100644
--- a/kdcop/kdcopwindow.cpp
+++ b/kdcop/kdcopwindow.cpp
@@ -1158,7 +1158,7 @@ KDCOPWindow::getParameters
{
TQString unNormalisedSignature(_unNormalisedSignature);
- int s = unNormalisedSignature.tqfind(' ');
+ int s = unNormalisedSignature.find(' ');
if ( s < 0 )
s = 0;
@@ -1167,8 +1167,8 @@ KDCOPWindow::getParameters
unNormalisedSignature = unNormalisedSignature.mid(s);
- int left = unNormalisedSignature.tqfind('(');
- int right = unNormalisedSignature.tqfindRev(')');
+ int left = unNormalisedSignature.find('(');
+ int right = unNormalisedSignature.findRev(')');
if (-1 == left)
{
@@ -1189,9 +1189,9 @@ KDCOPWindow::getParameters
{
(*it) = (*it).simplifyWhiteSpace();
- int s = (*it).tqfindRev(' ');
+ int s = (*it).findRev(' ');
- if (-1 != s && !intTypes.tqcontains((*it).mid(s + 1)))
+ if (-1 != s && !intTypes.contains((*it).mid(s + 1)))
{
names.append((*it).mid(s + 1));