summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_paint_device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_paint_device.cc')
-rw-r--r--chalk/core/kis_paint_device.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/core/kis_paint_device.cc b/chalk/core/kis_paint_device.cc
index 1ce2e98f..59665829 100644
--- a/chalk/core/kis_paint_device.cc
+++ b/chalk/core/kis_paint_device.cc
@@ -343,14 +343,14 @@ DCOPObject *KisPaintDevice::dcopObject()
return m_dcop;
}
-KisLayer *KisPaintDevice::tqparentLayer() const
+KisLayer *KisPaintDevice::parentLayer() const
{
return m_parentLayer;
}
-void KisPaintDevice::setParentLayer(KisLayer *tqparentLayer)
+void KisPaintDevice::setParentLayer(KisLayer *parentLayer)
{
- m_parentLayer = tqparentLayer;
+ m_parentLayer = parentLayer;
}
void KisPaintDevice::setDirty(const TQRect & rc)
@@ -1115,15 +1115,15 @@ void KisPaintDevice::applySelectionMask(KisSelectionSP tqmask)
for (TQ_INT32 y = r.top(); y <= r.bottom(); ++y) {
KisHLineIterator pixelIt = createHLineIterator(r.x(), y, r.width(), true);
- KisHLineIterator tqmaskIt = tqmask->createHLineIterator(r.x(), y, r.width(), false);
+ KisHLineIterator maskIt = tqmask->createHLineIterator(r.x(), y, r.width(), false);
while (!pixelIt.isDone()) {
// XXX: Optimize by using stretches
- m_colorSpace->applyAlphaU8Mask( pixelIt.rawData(), tqmaskIt.rawData(), 1);
+ m_colorSpace->applyAlphaU8Mask( pixelIt.rawData(), maskIt.rawData(), 1);
++pixelIt;
- ++tqmaskIt;
+ ++maskIt;
}
}
}