summaryrefslogtreecommitdiffstats
path: root/kviewshell/renderedDocumentPagePrinter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kviewshell/renderedDocumentPagePrinter.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-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.cpp14
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());
}