summaryrefslogtreecommitdiffstats
path: root/kaddressbook/printing/mikesstyle.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/printing/mikesstyle.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/printing/mikesstyle.h')
-rw-r--r--kaddressbook/printing/mikesstyle.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/printing/mikesstyle.h b/kaddressbook/printing/mikesstyle.h
index 52278d39..dbfabf17 100644
--- a/kaddressbook/printing/mikesstyle.h
+++ b/kaddressbook/printing/mikesstyle.h
@@ -25,7 +25,7 @@
#ifndef MIKESSTYLE_H
#define MIKESSTYLE_H
-#include <qfont.h>
+#include <tqfont.h>
#include "printstyle.h"
@@ -44,11 +44,11 @@ class MikesStyle : public PrintStyle
void print( const KABC::Addressee::List&, PrintProgress* );
protected:
- void doPaint( QPainter &painter, const KABC::Addressee &addr, int maxHeight,
- const QFont &font, const QFont &bFont );
- int calcHeight( const KABC::Addressee &addr, const QFont &font, const QFont &bFont);
- void paintTagLine( QPainter &p, const QFont &font);
- QString trimString( const QString &text, int width, QFontMetrics &fm);
+ void doPaint( TQPainter &painter, const KABC::Addressee &addr, int maxHeight,
+ const TQFont &font, const TQFont &bFont );
+ int calcHeight( const KABC::Addressee &addr, const TQFont &font, const TQFont &bFont);
+ void paintTagLine( TQPainter &p, const TQFont &font);
+ TQString trimString( const TQString &text, int width, TQFontMetrics &fm);
};
class MikesStyleFactory : public PrintStyleFactory
@@ -57,7 +57,7 @@ class MikesStyleFactory : public PrintStyleFactory
MikesStyleFactory( PrintingWizard *parent, const char *name = 0 );
PrintStyle *create() const;
- QString description() const;
+ TQString description() const;
};
}