summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/person.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/person.cpp')
-rw-r--r--kbugbuster/backend/person.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbugbuster/backend/person.cpp b/kbugbuster/backend/person.cpp
index 40cf72b7..368ea07c 100644
--- a/kbugbuster/backend/person.cpp
+++ b/kbugbuster/backend/person.cpp
@@ -4,7 +4,7 @@
Person::Person( const TQString &fullName )
{
- int emailPos = fullName.find( '<' );
+ int emailPos = fullName.tqfind( '<' );
if ( emailPos < 0 ) {
email = fullName;
} else {
@@ -41,10 +41,10 @@ Person Person::parseFromString( const TQString &_str )
TQString str = _str;
- int ltPos = str.find( '<' );
+ int ltPos = str.tqfind( '<' );
if ( ltPos != -1 )
{
- int gtPos = str.find( '>', ltPos );
+ int gtPos = str.tqfind( '>', ltPos );
if ( gtPos != -1 )
{
res.name = str.left( ltPos - 1 );
@@ -52,16 +52,16 @@ Person Person::parseFromString( const TQString &_str )
}
}
- int atPos = str.find( '@' );
- int spacedAtPos = str.find( TQString::fromLatin1( " at " ) );
+ int atPos = str.tqfind( '@' );
+ int spacedAtPos = str.tqfind( TQString::tqfromLatin1( " at " ) );
if ( atPos == -1 && spacedAtPos != -1 )
- str.replace( spacedAtPos, 4, TQString::fromLatin1( "@" ) );
+ str.tqreplace( spacedAtPos, 4, TQString::tqfromLatin1( "@" ) );
- int spacePos = str.find( ' ' );
+ int spacePos = str.tqfind( ' ' );
while ( spacePos != -1 )
{
str[ spacePos ] = '.';
- spacePos = str.find( ' ', spacePos );
+ spacePos = str.tqfind( ' ', spacePos );
}
res.email = str;