From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: 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 --- kviewshell/simplePageSize.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kviewshell/simplePageSize.cpp') 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); } -- cgit v1.2.1