summaryrefslogtreecommitdiffstats
path: root/kaddressbook/printing/printsortmode.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
commit94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch)
tree91b99186971ecb475db3ca41b1b12df24029e389 /kaddressbook/printing/printsortmode.cpp
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
Diffstat (limited to 'kaddressbook/printing/printsortmode.cpp')
-rw-r--r--kaddressbook/printing/printsortmode.cpp16
1 files changed, 8 insertions, 8 deletions
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;