summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/person.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbugbuster/backend/person.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 )