summaryrefslogtreecommitdiffstats
path: root/kaddressbook/printing/printsortmode.cpp
diff options
context:
space:
mode:
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;