From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kabc/sortmode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kabc/sortmode.cpp') diff --git a/kabc/sortmode.cpp b/kabc/sortmode.cpp index c21a871cb..ee9a6f82d 100644 --- a/kabc/sortmode.cpp +++ b/kabc/sortmode.cpp @@ -41,13 +41,13 @@ bool NameSortMode::lesser( const KABC::Addressee &first, const KABC::Addressee & switch ( mNameType ) { case FormattedName: - lesser = QString::localeAwareCompare( first.formattedName(), second.formattedName() ) < 0; + lesser = TQString::localeAwareCompare( first.formattedName(), second.formattedName() ) < 0; break; case FamilyName: - lesser = QString::localeAwareCompare( first.familyName(), second.familyName() ) < 0; + lesser = TQString::localeAwareCompare( first.familyName(), second.familyName() ) < 0; break; case GivenName: - lesser = QString::localeAwareCompare( first.givenName(), second.givenName() ) < 0; + lesser = TQString::localeAwareCompare( first.givenName(), second.givenName() ) < 0; break; default: lesser = false; @@ -70,7 +70,7 @@ bool FieldSortMode::lesser( const KABC::Addressee &first, const KABC::Addressee if ( !mField ) return false; else { - bool lesser = QString::localeAwareCompare( mField->value( first ), mField->value( second ) ) < 0; + bool lesser = TQString::localeAwareCompare( mField->value( first ), mField->value( second ) ) < 0; if ( !mAscendingOrder ) lesser = !lesser; -- cgit v1.2.1