summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/printtext.h
Side-by-side diff
Diffstat (limited to 'pwmanager/pwmanager/printtext.h') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/printtext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pwmanager/pwmanager/printtext.h b/pwmanager/pwmanager/printtext.h
index 82e31b0..71bc2e0 100644
--- a/pwmanager/pwmanager/printtext.h
+++ b/pwmanager/pwmanager/printtext.h
@@ -6,25 +6,25 @@
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License version 2 *
* as published by the Free Software Foundation. *
* *
***************************************************************************/
#ifndef PRINTTEXT_H
#define PRINTTEXT_H
#include <kprinter.h>
#include <qpainter.h>
-#include <qpaintdevicemetrics.h>
+#include <q3paintdevicemetrics.h>
#include <qrect.h>
#include <qpoint.h>
/** prints text "raw" to a printer */
class PrintText : public KPrinter
{
public:
PrintText();
~PrintText();
/** begin printing. Call this before drawing to the device! */
void beginPrint();
@@ -33,25 +33,25 @@ public:
/** returns a pointer to the paint object */
QPainter* getPaint()
{ return paint; }
/** sets the header-text */
void setHeader(const QString &left, const QString &middle);
/** returns the header-text */
void getHeader(QString *left, QString *middle);
protected:
/** painter object */
QPainter *paint;
/** metrics */
- QPaintDeviceMetrics *metrics;
+ Q3PaintDeviceMetrics *metrics;
/** left field of header */
QString headerLeft;
/** middle field of header */
QString headerMiddle;
/** right field of header */
QString headerRight;
/** current Y-Position */
int curYPos;
/** text-body rectangle */
QRect body;
/** line-spacing */
int ls;