summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_scale_visitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/core/kis_scale_visitor.h')
-rw-r--r--krita/core/kis_scale_visitor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/krita/core/kis_scale_visitor.h b/krita/core/kis_scale_visitor.h
index e20ba2e0..afe358ad 100644
--- a/krita/core/kis_scale_visitor.h
+++ b/krita/core/kis_scale_visitor.h
@@ -42,13 +42,13 @@ class KisScaleWorker : public KisThread {
/* Structs for the image rescaling routine */
class Contrib {
public:
- Q_INT32 m_pixel;
+ TQ_INT32 m_pixel;
double m_weight;
};
class ContribList {
public:
- Q_INT32 n; //number of contributors
+ TQ_INT32 n; //number of contributors
Contrib *p; //pointer to list of contributions
};
@@ -67,7 +67,7 @@ public:
void run();
private:
- Q_INT32 m_pixelSize;
+ TQ_INT32 m_pixelSize;
KisPaintDevice * m_dev;
double m_sx, m_sy;
KisFilterStrategy * m_filterStrategy;
@@ -81,7 +81,7 @@ private:
*
* Returns -1 if error, 0 otherwise.
*/
- int calcContrib(ContribList *contribX, double cale, double fwidth, int srcwidth, KisFilterStrategy *filterStrategy, Q_INT32 i);
+ int calcContrib(ContribList *contribX, double cale, double fwidth, int srcwidth, KisFilterStrategy *filterStrategy, TQ_INT32 i);
ContribList * contrib; //array of contribution lists
@@ -193,7 +193,7 @@ public:
private:
- QPtrList<KisThread> m_scalethreads;
+ TQPtrList<KisThread> m_scalethreads;
KisImageSP m_img;
double m_sx;
double m_sy;