summaryrefslogtreecommitdiffstats
path: root/chalk/doc/colorstrategyAPI
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit7c71ab86d1f7e387fc3df63b48df07231f111862 (patch)
tree30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /chalk/doc/colorstrategyAPI
parentafbfdc507bfaafc8824a9808311d57a9ece87510 (diff)
downloadkoffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz
koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'chalk/doc/colorstrategyAPI')
-rw-r--r--chalk/doc/colorstrategyAPI8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/doc/colorstrategyAPI b/chalk/doc/colorstrategyAPI
index 07c95ae9e..faa5724e7 100644
--- a/chalk/doc/colorstrategyAPI
+++ b/chalk/doc/colorstrategyAPI
@@ -41,17 +41,17 @@ void KisPaintDevice::applySelectionMask(KisSelectionSP tqmask)
for (Q_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()) {
KisPixel pixel = toPixel(pixelIt.rawData());
- KisPixel tqmaskValue = tqmask -> toPixel(tqmaskIt.rawData());
+ KisPixel maskValue = tqmask -> toPixel(maskIt.rawData());
- pixel.alpha() = (pixel.alpha() * tqmaskValue.alpha()) / MAX_SELECTED;
+ pixel.alpha() = (pixel.alpha() * maskValue.alpha()) / MAX_SELECTED;
++pixelIt;
- ++tqmaskIt;
+ ++maskIt;
}
}
}