summaryrefslogtreecommitdiffstats
path: root/kviewshell/simplePageSize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/simplePageSize.cpp')
-rw-r--r--kviewshell/simplePageSize.cpp6
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);
}