summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_tool_freehand.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /chalk/ui/kis_tool_freehand.cc
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'chalk/ui/kis_tool_freehand.cc')
-rw-r--r--chalk/ui/kis_tool_freehand.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chalk/ui/kis_tool_freehand.cc b/chalk/ui/kis_tool_freehand.cc
index bbe575d1..adbf9b8a 100644
--- a/chalk/ui/kis_tool_freehand.cc
+++ b/chalk/ui/kis_tool_freehand.cc
@@ -182,12 +182,12 @@ void KisToolFreehand::initPaint(KisEvent *)
// projection).
KisLayer* l = layer->layer();
KisPaintLayer* pl = dynamic_cast<KisPaintLayer*>(l);
- if (l->tqparent() && (l->tqparent()->tqparent() == 0)
- && (l->tqparent()->childCount() == 1)
- && l->tqparent()->paintLayerInducesProjectionOptimization(pl)) {
- // If there's a tqmask, device could've been the tqmask. The induce function
+ if (l->parent() && (l->parent()->parent() == 0)
+ && (l->parent()->childCount() == 1)
+ && l->parent()->paintLayerInducesProjectionOptimization(pl)) {
+ // If there's a mask, device could've been the mask. The induce function
// should catch this, but better safe than sorry
- l->tqparent()->resetProjection(pl->paintDevice());
+ l->parent()->resetProjection(pl->paintDevice());
}
m_target = new KisPaintDevice(m_currentImage->activeLayer(),