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.h | |
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.h')
-rw-r--r-- | kviewshell/simplePageSize.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kviewshell/simplePageSize.h b/kviewshell/simplePageSize.h index bd5f9ca8..523eb62b 100644 --- a/kviewshell/simplePageSize.h +++ b/kviewshell/simplePageSize.h @@ -13,10 +13,10 @@ #include "length.h" -#include <qsize.h> +#include <tqsize.h> -class QString; -class QStringList; +class TQString; +class TQStringList; /** \brief This class represents phyiscal page sizes. @@ -74,16 +74,16 @@ class SimplePageSize @param resolution in dots per inch - @returns the pixel size, represented by a QSize. If the page size is + @returns the pixel size, represented by a TQSize. If the page size is invalid, the result is undefined. */ - QSize sizeInPixel(double resolution) const {return QSize( (int)(resolution*pageWidth.getLength_in_inch() + 0.5), + TQSize sizeInPixel(double resolution) const {return TQSize( (int)(resolution*pageWidth.getLength_in_inch() + 0.5), (int)(resolution*pageHeight.getLength_in_inch() + 0.5)); } /** \brief Zoom value required to scale to a certain height If the pageSize is valid, this method returns the zoom value required to scale the page size down to 'height' pixels on the - currently used display. The method uses QPaintDevice::x11AppDpiY() + currently used display. The method uses TQPaintDevice::x11AppDpiY() to find the resolution of the display. If the pageSize is invalid, an error message is printed, and an undefined value is returned. @@ -99,7 +99,7 @@ class SimplePageSize If the pageSize is valid, this method returns the zoom value required to scale the page size down to 'width' pixels on the - currently used display. The method uses QPaintDevice::x11AppDpiX() + currently used display. The method uses TQPaintDevice::x11AppDpiX() to find the resolution of the display. If the pageSize is invalid, an error message is printed, and an undefined value is returned. |