diff options
Diffstat (limited to 'kaddressbook/printing/kabentrypainter.cpp')
-rw-r--r-- | kaddressbook/printing/kabentrypainter.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kaddressbook/printing/kabentrypainter.cpp b/kaddressbook/printing/kabentrypainter.cpp index d973f810c..49247ce8a 100644 --- a/kaddressbook/printing/kabentrypainter.cpp +++ b/kaddressbook/printing/kabentrypainter.cpp @@ -148,7 +148,7 @@ int KABEntryPainter::hits( const TQRectList& list, const TQPoint &p ) return -1; } -bool KABEntryPainter::printAddressee( const KABC::Addressee &addr, +bool KABEntryPainter::printAddressee( const TDEABC::Addressee &addr, const TQRect &window, TQPainter *painter, int top, bool fake, TQRect *brect ) { @@ -169,7 +169,7 @@ bool KABEntryPainter::printAddressee( const KABC::Addressee &addr, TQFontMetrics fmComment( mCommentFont ); int y = top; - KABC::Address address; + TDEABC::Address address; // this is used to prepare some fields for printing and decide about // the layout later: @@ -255,7 +255,7 @@ bool KABEntryPainter::printAddressee( const KABC::Addressee &addr, } // Telephones: - const KABC::PhoneNumber::List phoneNumbers( addr.phoneNumbers() ); + const TDEABC::PhoneNumber::List phoneNumbers( addr.phoneNumbers() ); if ( !phoneNumbers.isEmpty() && mShowPhones ) { contents.push_back( &mPhoneRects ); TQStringList list; @@ -264,7 +264,7 @@ bool KABEntryPainter::printAddressee( const KABC::Addressee &addr, list.append( phoneNumbers.count() == 1 ? i18n( "Telephone:" ) : i18n( "Telephones:" ) ); - KABC::PhoneNumber::List::ConstIterator it; + TDEABC::PhoneNumber::List::ConstIterator it; for ( it = phoneNumbers.begin(); it != phoneNumbers.end(); ++it ) { line = (*it).typeLabel(); line += ": " + (*it).number(); @@ -354,7 +354,7 @@ bool KABEntryPainter::printAddressee( const KABC::Addressee &addr, // ^^^^^ done with emails, telephone, URLs and talk addresses // now print the addresses: - KABC::Address::List addresses = addr.addresses(); + TDEABC::Address::List addresses = addr.addresses(); if ( addresses.count() > 0 && mShowAddresses ) { y += fmBody.lineSpacing() / 2; painter->setFont( mHeadLineFont ); @@ -372,29 +372,29 @@ bool KABEntryPainter::printAddressee( const KABC::Addressee &addr, y += fmBody.lineSpacing() / 4; painter->setFont( mBodyFont ); - KABC::Address::List::ConstIterator it; + TDEABC::Address::List::ConstIterator it; for ( it = addresses.begin(); it != addresses.end(); ++it ) { address = *it; switch ( address.type() ) { - case KABC::Address::Dom: + case TDEABC::Address::Dom: line1 = i18n( "Domestic Address" ); break; - case KABC::Address::Intl: + case TDEABC::Address::Intl: line1 = i18n( "International Address" ); break; - case KABC::Address::Postal: + case TDEABC::Address::Postal: line1 = i18n( "Postal Address" ); break; - case KABC::Address::Parcel: + case TDEABC::Address::Parcel: line1 = i18n( "Parcel Address" ); break; - case KABC::Address::Home: + case TDEABC::Address::Home: line1 = i18n( "Home Address" ); break; - case KABC::Address::Work: + case TDEABC::Address::Work: line1 = i18n( "Work Address" ); break; - case KABC::Address::Pref: + case TDEABC::Address::Pref: default: line1 = i18n( "Preferred Address" ); } |