summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_brush.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_brush.cc')
-rw-r--r--chalk/core/kis_brush.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/core/kis_brush.cc b/chalk/core/kis_brush.cc
index 247bc7df..71676e3a 100644
--- a/chalk/core/kis_brush.cc
+++ b/chalk/core/kis_brush.cc
@@ -455,7 +455,7 @@ KisPaintDeviceSP KisBrush::image(KisColorSpace * /*colorSpace*/, const KisPaintI
KisPaintDevice *layer = new KisPaintDevice(KisMetaRegistry::instance()->csRegistry()->getRGB8(), "brush");
- Q_CHECK_PTR(layer);
+ TQ_CHECK_PTR(layer);
for (int y = 0; y < outputHeight; y++) {
KisHLineIterator iter = layer->createHLineIterator( 0, y, outputWidth, true);
@@ -563,7 +563,7 @@ void KisBrush::createScaledBrushes() const
}
KisAlphaMaskSP scaledMask = new KisAlphaMask(scaledImage, hasColor());
- Q_CHECK_PTR(scaledMask);
+ TQ_CHECK_PTR(scaledMask);
double xScale = static_cast<double>(width) / m_img.width();
double yScale = static_cast<double>(height) / m_img.height();
@@ -627,7 +627,7 @@ KisAlphaMaskSP KisBrush::scaleMask(const ScaledBrush *srcBrush, double scale, do
int dstHeight = static_cast<int>(ceil(scale * height())) + 1;
KisAlphaMaskSP dstMask = new KisAlphaMask(dstWidth, dstHeight);
- Q_CHECK_PTR(dstMask);
+ TQ_CHECK_PTR(dstMask);
KisAlphaMaskSP srcMask = srcBrush->mask();
@@ -978,7 +978,7 @@ KisAlphaMaskSP KisBrush::scaleSinglePixelMask(double scale, TQ_UINT8 maskValue,
int dstWidth = 2;
int dstHeight = 2;
KisAlphaMaskSP outputMask = new KisAlphaMask(dstWidth, dstHeight);
- Q_CHECK_PTR(outputMask);
+ TQ_CHECK_PTR(outputMask);
double a = subPixelX;
double b = subPixelY;