summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_brush.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:10:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:10:09 -0600
commite6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch)
tree73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/core/kis_brush.cc
parent35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff)
downloadkoffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz
koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip
Update various qt function definitions and static methods for tqt3
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;