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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kbugbuster/backend/person.cpp b/kbugbuster/backend/person.cpp
index a9f63be0..40cf72b7 100644
--- a/kbugbuster/backend/person.cpp
+++ b/kbugbuster/backend/person.cpp
@@ -2,7 +2,7 @@
#include "person.h"
-Person::Person( const QString &fullName )
+Person::Person( const TQString &fullName )
{
int emailPos = fullName.find( '<' );
if ( emailPos < 0 ) {
@@ -13,7 +13,7 @@ Person::Person( const QString &fullName )
}
}
-QString Person::fullName(bool html) const
+TQString Person::fullName(bool html) const
{
if( name.isEmpty() )
{
@@ -35,11 +35,11 @@ QString Person::fullName(bool html) const
}
}
-Person Person::parseFromString( const QString &_str )
+Person Person::parseFromString( const TQString &_str )
{
Person res;
- QString str = _str;
+ TQString str = _str;
int ltPos = str.find( '<' );
if ( ltPos != -1 )
@@ -53,9 +53,9 @@ Person Person::parseFromString( const QString &_str )
}
int atPos = str.find( '@' );
- int spacedAtPos = str.find( QString::fromLatin1( " at " ) );
+ int spacedAtPos = str.find( TQString::fromLatin1( " at " ) );
if ( atPos == -1 && spacedAtPos != -1 )
- str.replace( spacedAtPos, 4, QString::fromLatin1( "@" ) );
+ str.replace( spacedAtPos, 4, TQString::fromLatin1( "@" ) );
int spacePos = str.find( ' ' );
while ( spacePos != -1 )