summaryrefslogtreecommitdiffstats
path: root/kabc/sortmode.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/sortmode.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/sortmode.cpp')
-rw-r--r--kabc/sortmode.cpp8
1 files changed, 4 insertions, 4 deletions
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;