diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kviewshell/simplePageSize.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 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 9f222105..358f6798 100644 --- a/kviewshell/simplePageSize.cpp +++ b/kviewshell/simplePageSize.cpp @@ -15,7 +15,7 @@ #include "simplePageSize.h" -double SimplePageSize::zoomForHeight(Q_UINT32 height) const +double SimplePageSize::zoomForHeight(TQ_UINT32 height) const { if (!isValid()) { kdError(1223) << "SimplePageSize::zoomForHeight() called when paper height was invalid" << endl; @@ -25,7 +25,7 @@ double SimplePageSize::zoomForHeight(Q_UINT32 height) const } -double SimplePageSize::zoomForWidth(Q_UINT32 width) const +double SimplePageSize::zoomForWidth(TQ_UINT32 width) const { if (!isValid()) { kdError(1223) << "SimplePageSize::zoomForWidth() called when paper width was invalid" << endl; @@ -45,5 +45,5 @@ double SimplePageSize::zoomToFitInto(const SimplePageSize &target) const double z1 = target.width() / pageWidth; double z2 = target.height() / pageHeight; - return QMIN(z1,z2); + return TQMIN(z1,z2); } |