summaryrefslogtreecommitdiffstats
path: root/kaddressbook/xxport/eudora_xxport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/xxport/eudora_xxport.cpp')
-rw-r--r--kaddressbook/xxport/eudora_xxport.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kaddressbook/xxport/eudora_xxport.cpp b/kaddressbook/xxport/eudora_xxport.cpp
index 9844b5507..bed374339 100644
--- a/kaddressbook/xxport/eudora_xxport.cpp
+++ b/kaddressbook/xxport/eudora_xxport.cpp
@@ -124,22 +124,22 @@ TQString EudoraXXPort::key( const TQString& line) const
{
int e;
TQString result;
- int b = line.tqfind( '\"', 0 );
+ int b = line.find( '\"', 0 );
if ( b == -1 ) {
- b = line.tqfind( ' ' );
+ b = line.find( ' ' );
if ( b == -1 )
return result;
b++;
- e = line.tqfind( ' ', b );
+ e = line.find( ' ', b );
result = line.mid( b, e - b );
return result;
}
b++;
- e = line.tqfind( '\"', b );
+ e = line.find( '\"', b );
if ( e == -1 )
return result;
@@ -152,9 +152,9 @@ TQString EudoraXXPort::email( const TQString& line ) const
{
int b;
TQString result;
- b = line.tqfindRev( '\"' );
+ b = line.findRev( '\"' );
if ( b == -1 ) {
- b = line.tqfindRev( ' ' );
+ b = line.findRev( ' ' );
if ( b == -1 )
return result;
}
@@ -168,9 +168,9 @@ TQString EudoraXXPort::comment( const TQString& line ) const
int b;
TQString result;
uint i;
- b = line.tqfindRev( '>' );
+ b = line.findRev( '>' );
if ( b == -1 ) {
- b = line.tqfindRev( '\"' );
+ b = line.findRev( '\"' );
if ( b == -1 )
return result;
}
@@ -191,12 +191,12 @@ TQString EudoraXXPort::get( const TQString& line, const TQString& key ) const
uint i;
// Find formatted key, return on error
- b = line.tqfind( fd );
+ b = line.find( fd );
if ( b == -1 )
return TQString();
b += fd.length();
- e = line.tqfind( '>', b );
+ e = line.find( '>', b );
if ( e == -1 )
return TQString();