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/mikesstyle.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kaddressbook/printing/mikesstyle.cpp') diff --git a/kaddressbook/printing/mikesstyle.cpp b/kaddressbook/printing/mikesstyle.cpp index aa718dfd0..25b2e02e9 100644 --- a/kaddressbook/printing/mikesstyle.cpp +++ b/kaddressbook/printing/mikesstyle.cpp @@ -53,7 +53,7 @@ MikesStyle::~MikesStyle() { } -void MikesStyle::print( const KABC::Addressee::List &contacts, PrintProgress *progress ) +void MikesStyle::print( const TDEABC::Addressee::List &contacts, PrintProgress *progress ) { TQFont mFont; TQFont mBoldFont; @@ -71,7 +71,7 @@ void MikesStyle::print( const KABC::Addressee::List &contacts, PrintProgress *pr TQPaintDeviceMetrics metrics( p.device() ); int height = 0; - KABC::Addressee::List::ConstIterator it; + TDEABC::Addressee::List::ConstIterator it; progress->addMessage( i18n( "Preparing" ) ); progress->addMessage( i18n( "Printing" ) ); @@ -136,7 +136,7 @@ TQString MikesStyle::trimString( const TQString &text, int width, TQFontMetrics return trimmed; } -void MikesStyle::doPaint( TQPainter &painter, const KABC::Addressee &addr, +void MikesStyle::doPaint( TQPainter &painter, const TDEABC::Addressee &addr, int maxHeight, const TQFont &font, const TQFont &bFont ) { TQFontMetrics fm( font ); @@ -164,7 +164,7 @@ void MikesStyle::doPaint( TQPainter &painter, const KABC::Addressee &addr, // now the fields, in two halves painter.setFont( font ); - KABC::Field::List fields = wizard()->addressBook()->fields(); + TDEABC::Field::List fields = wizard()->addressBook()->fields(); int numFields = fields.count(); TQString label; TQString value; @@ -211,7 +211,7 @@ void MikesStyle::paintTagLine( TQPainter &p, const TQFont &font ) p.drawText( 0, fm.height(), text ); } -int MikesStyle::calcHeight( const KABC::Addressee &addr, +int MikesStyle::calcHeight( const TDEABC::Addressee &addr, const TQFont &font, const TQFont &bFont ) { TQFontMetrics fm( font ); @@ -220,7 +220,7 @@ int MikesStyle::calcHeight( const KABC::Addressee &addr, int height = 0; // get the fields - KABC::Field::List fieldList = wizard()->addressBook()->fields(); + TDEABC::Field::List fieldList = wizard()->addressBook()->fields(); int numFields = fieldList.count(); int halfHeight = 0; -- cgit v1.2.1