diff options
Diffstat (limited to 'kaddressbook/printing/mikesstyle.cpp')
-rw-r--r-- | kaddressbook/printing/mikesstyle.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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; |