summaryrefslogtreecommitdiffstats
path: root/kaddressbook/printing/mikesstyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kaddressbook/printing/mikesstyle.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kaddressbook/printing/mikesstyle.cpp')
-rw-r--r--kaddressbook/printing/mikesstyle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kaddressbook/printing/mikesstyle.cpp b/kaddressbook/printing/mikesstyle.cpp
index 62f89d55..746677ec 100644
--- a/kaddressbook/printing/mikesstyle.cpp
+++ b/kaddressbook/printing/mikesstyle.cpp
@@ -68,7 +68,7 @@ void MikesStyle::print( const KABC::Addressee::List &contacts, PrintProgress *pr
mBoldFont = p.font();
mBoldFont.setBold( true );
TQFontMetrics fm( mFont );
- TQPaintDeviceMetrics metrics( p.device() );
+ TQPaintDeviceMetrics metrics( p.tqdevice() );
int height = 0;
KABC::Addressee::List::ConstIterator it;
@@ -141,7 +141,7 @@ void MikesStyle::doPaint( TQPainter &painter, const KABC::Addressee &addr,
{
TQFontMetrics fm( font );
TQFontMetrics bfm( bFont );
- TQPaintDeviceMetrics metrics( painter.device() );
+ TQPaintDeviceMetrics metrics( painter.tqdevice() );
int margin = 10;
int width = metrics.width() - 10;
int xPos = 5;
@@ -205,7 +205,7 @@ void MikesStyle::paintTagLine( TQPainter &p, const TQFont &font )
TQFontMetrics fm( font );
TQString text = i18n( "Printed on %1 by KAddressBook (http://www.kde.org)" )
- .arg( KGlobal::locale()->formatDateTime( TQDateTime::currentDateTime() ) );
+ .tqarg( KGlobal::locale()->formatDateTime( TQDateTime::tqcurrentDateTime() ) );
p.setPen( TQt::black );
p.drawText( 0, fm.height(), text );