summaryrefslogtreecommitdiffstats
path: root/kdcop
diff options
context:
space:
mode:
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));