From 94273bcb909fac42ef9427e3d8a614cab8c29c66 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 20 Feb 2013 16:27:27 -0600 Subject: Rename KABC namespace --- kaddressbook/printing/printsortmode.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kaddressbook/printing/printsortmode.cpp') diff --git a/kaddressbook/printing/printsortmode.cpp b/kaddressbook/printing/printsortmode.cpp index 3e1af4203..edbb9acc9 100644 --- a/kaddressbook/printing/printsortmode.cpp +++ b/kaddressbook/printing/printsortmode.cpp @@ -27,23 +27,23 @@ #if KDE_IS_VERSION(3,3,91) -PrintSortMode::PrintSortMode( KABC::Field *field, bool ascending ) +PrintSortMode::PrintSortMode( TDEABC::Field *field, bool ascending ) : mSortField( field ), mAscending( ascending ) { - const KABC::Field::List fields = KABC::Field::allFields(); - KABC::Field::List::ConstIterator it; + const TDEABC::Field::List fields = TDEABC::Field::allFields(); + TDEABC::Field::List::ConstIterator it; for ( it = fields.begin(); it != fields.end(); ++it ) { - if ( (*it)->label() == KABC::Addressee::givenNameLabel() ) + if ( (*it)->label() == TDEABC::Addressee::givenNameLabel() ) mGivenNameField = *it; - else if ( (*it)->label() == KABC::Addressee::familyNameLabel() ) + else if ( (*it)->label() == TDEABC::Addressee::familyNameLabel() ) mFamilyNameField = *it; - else if ( (*it)->label() == KABC::Addressee::formattedNameLabel() ) + else if ( (*it)->label() == TDEABC::Addressee::formattedNameLabel() ) mFormattedNameField = *it; } } -bool PrintSortMode::lesser( const KABC::Addressee &first, - const KABC::Addressee &second ) const +bool PrintSortMode::lesser( const TDEABC::Addressee &first, + const TDEABC::Addressee &second ) const { if ( !mSortField ) return false; -- cgit v1.2.1