summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_convolution_painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/core/kis_convolution_painter.h')
-rw-r--r--krita/core/kis_convolution_painter.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/krita/core/kis_convolution_painter.h b/krita/core/kis_convolution_painter.h
index d4aa8efb..8c0b2bba 100644
--- a/krita/core/kis_convolution_painter.h
+++ b/krita/core/kis_convolution_painter.h
@@ -18,7 +18,7 @@
#ifndef KIS_CONVOLUTION_PAINTER_H_
#define KIS_CONVOLUTION_PAINTER_H_
-#include <qimage.h>
+#include <tqimage.h>
#include "ksharedptr.h"
#include "kis_types.h"
@@ -42,17 +42,17 @@ class KisKernel : public KShared
public:
- Q_UINT32 width;
- Q_UINT32 height;
- Q_INT32 offset;
- Q_INT32 factor;
- Q_INT32 * data;
+ TQ_UINT32 width;
+ TQ_UINT32 height;
+ TQ_INT32 offset;
+ TQ_INT32 factor;
+ TQ_INT32 * data;
KisKernel() : width(0), height(0), offset(0), factor(0), data(0) {};
virtual ~KisKernel() { delete [] data; };
- static KisKernelSP fromQImage(const QImage& img);
+ static KisKernelSP fromTQImage(const TQImage& img);
};
@@ -80,14 +80,14 @@ public:
*
* Note that we do not (currently) support different kernels for different channels _or_ channel types.
*/
- void applyMatrix(KisKernelSP kernel, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h,
+ void applyMatrix(KisKernelSP kernel, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h,
KisConvolutionBorderOp borderOp = BORDER_AVOID,
KisChannelInfo::enumChannelFlags channelFlags = KisChannelInfo::FLAG_COLOR);
private:
/**
* This function is called by applyMatrix when borderOp == BORDER_REPEAT
*/
- void applyMatrixRepeat(KisKernelSP kernel, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h,
+ void applyMatrixRepeat(KisKernelSP kernel, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h,
KisChannelInfo::enumChannelFlags channelFlags);