diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
| commit | 7c71ab86d1f7e387fc3df63b48df07231f111862 (patch) | |
| tree | 30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /chalk/ui/kis_cursor.cc | |
| parent | afbfdc507bfaafc8824a9808311d57a9ece87510 (diff) | |
| download | koffice-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/ui/kis_cursor.cc')
| -rw-r--r-- | chalk/ui/kis_cursor.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/ui/kis_cursor.cc b/chalk/ui/kis_cursor.cc index 33c6ae048..ca899da86 100644 --- a/chalk/ui/kis_cursor.cc +++ b/chalk/ui/kis_cursor.cc @@ -344,7 +344,7 @@ TQCursor KisCursor::load(const TQString & iconName, int hotspotX, int hotspotY) TQBitmap tqmask(cursorImage.width(), cursorImage.height()); TQPainter bitmapPainter(&bitmap); - TQPainter tqmaskPainter(&tqmask); + TQPainter maskPainter(&tqmask); for (TQ_INT32 x = 0; x < cursorImage.width(); ++x) { for (TQ_INT32 y = 0; y < cursorImage.height(); ++y) { @@ -353,9 +353,9 @@ TQCursor KisCursor::load(const TQString & iconName, int hotspotX, int hotspotY) if (tqAlpha(pixel) < 128) { bitmapPainter.setPen(TQt::color0); - tqmaskPainter.setPen(TQt::color0); + maskPainter.setPen(TQt::color0); } else { - tqmaskPainter.setPen(TQt::color1); + maskPainter.setPen(TQt::color1); if (tqGray(pixel) < 128) { bitmapPainter.setPen(TQt::color1); @@ -365,7 +365,7 @@ TQCursor KisCursor::load(const TQString & iconName, int hotspotX, int hotspotY) } bitmapPainter.drawPoint(x, y); - tqmaskPainter.drawPoint(x, y); + maskPainter.drawPoint(x, y); } } |
