diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kviewshell/renderedDocumentPagePrinter.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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()); } |