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/simplePageSize.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/simplePageSize.cpp')
-rw-r--r-- | kviewshell/simplePageSize.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kviewshell/simplePageSize.cpp b/kviewshell/simplePageSize.cpp index cc235ef8..9f222105 100644 --- a/kviewshell/simplePageSize.cpp +++ b/kviewshell/simplePageSize.cpp @@ -10,7 +10,7 @@ #include <config.h> #include <kdebug.h> -#include <qpaintdevice.h> +#include <tqpaintdevice.h> #include "simplePageSize.h" @@ -21,7 +21,7 @@ double SimplePageSize::zoomForHeight(Q_UINT32 height) const kdError(1223) << "SimplePageSize::zoomForHeight() called when paper height was invalid" << endl; return 0.1; } - return (double)(height)/(QPaintDevice::x11AppDpiY()*(pageHeight.getLength_in_inch())); + return (double)(height)/(TQPaintDevice::x11AppDpiY()*(pageHeight.getLength_in_inch())); } @@ -31,7 +31,7 @@ double SimplePageSize::zoomForWidth(Q_UINT32 width) const kdError(1223) << "SimplePageSize::zoomForWidth() called when paper width was invalid" << endl; return 0.1; } - return (double)(width)/(QPaintDevice::x11AppDpiX()*(pageWidth.getLength_in_inch())); + return (double)(width)/(TQPaintDevice::x11AppDpiX()*(pageWidth.getLength_in_inch())); } |