diff options
Diffstat (limited to 'kviewshell/renderedDocumentPagePrinter.cpp')
-rw-r--r-- | kviewshell/renderedDocumentPagePrinter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kviewshell/renderedDocumentPagePrinter.cpp b/kviewshell/renderedDocumentPagePrinter.cpp index 6e0ba57a..ff5171a0 100644 --- a/kviewshell/renderedDocumentPagePrinter.cpp +++ b/kviewshell/renderedDocumentPagePrinter.cpp @@ -21,8 +21,8 @@ #include <config.h> #include <kdebug.h> -#include <qguardedptr.h> -#include <qpaintdevicemetrics.h> +#include <tqguardedptr.h> +#include <tqpaintdevicemetrics.h> #include <kprinter.h> #include "renderedDocumentPagePrinter.h" @@ -37,17 +37,17 @@ RenderedDocumentPagePrinter::RenderedDocumentPagePrinter(KPrinter *kp) return; } - printerPainter = new QPainter(printer); + printerPainter = new TQPainter(printer); } -QSize RenderedDocumentPagePrinter::size() +TQSize RenderedDocumentPagePrinter::size() { if (printer == 0) { kdError(1223) << "RenderedDocumentPagePrinter::size() called with printer == 0" << endl; - return QSize(0,0); + return TQSize(0,0); } - QPaintDeviceMetrics pdm( printer ); - return QSize(pdm.width(), pdm.height()); + TQPaintDeviceMetrics pdm( printer ); + return TQSize(pdm.width(), pdm.height()); } |