summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_perspective_math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krita/core/kis_perspective_math.cpp')
-rw-r--r--krita/core/kis_perspective_math.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/krita/core/kis_perspective_math.cpp b/krita/core/kis_perspective_math.cpp
index eadbab8b..44a43a03 100644
--- a/krita/core/kis_perspective_math.cpp
+++ b/krita/core/kis_perspective_math.cpp
@@ -20,7 +20,7 @@
#include "kis_perspective_math.h"
-#include <qrect.h>
+#include <tqrect.h>
#if 1
@@ -534,12 +534,12 @@ double* KisPerspectiveMath::computeMatrixTransfo( const KisPoint& topLeft1, cons
return matrix;
}
-double* KisPerspectiveMath::computeMatrixTransfoToPerspective(const KisPoint& topLeft, const KisPoint& topRight, const KisPoint& bottomLeft, const KisPoint& bottomRight, const QRect& r)
+double* KisPerspectiveMath::computeMatrixTransfoToPerspective(const KisPoint& topLeft, const KisPoint& topRight, const KisPoint& bottomLeft, const KisPoint& bottomRight, const TQRect& r)
{
return KisPerspectiveMath::computeMatrixTransfo(topLeft, topRight, bottomLeft, bottomRight, r.topLeft(), r.topRight(), r.bottomLeft(), r.bottomRight());
}
-double* KisPerspectiveMath::computeMatrixTransfoFromPerspective(const QRect& r, const KisPoint& topLeft, const KisPoint& topRight, const KisPoint& bottomLeft, const KisPoint& bottomRight)
+double* KisPerspectiveMath::computeMatrixTransfoFromPerspective(const TQRect& r, const KisPoint& topLeft, const KisPoint& topRight, const KisPoint& bottomLeft, const KisPoint& bottomRight)
{
return KisPerspectiveMath::computeMatrixTransfo(r.topLeft(), r.topRight(), r.bottomLeft(), r.bottomRight(), topLeft, topRight, bottomLeft, bottomRight);
}