summaryrefslogtreecommitdiffstats
path: root/tdecore/kiconeffect.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:28:01 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:28:01 -0600
commit72849e2a6f973af3eeaa573a66635e37cc427bb0 (patch)
tree2d3beea645819ba70a32c19a092a874f4e89c399 /tdecore/kiconeffect.cpp
parentb46a7c35c167304acc48675b979ca8b32bc3d293 (diff)
downloadtdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz
tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdecore/kiconeffect.cpp')
-rw-r--r--tdecore/kiconeffect.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/kiconeffect.cpp b/tdecore/kiconeffect.cpp
index c1a4a8ca5..675731401 100644
--- a/tdecore/kiconeffect.cpp
+++ b/tdecore/kiconeffect.cpp
@@ -693,7 +693,7 @@ void TDEIconEffect::overlay(TQImage &src, TQImage &overlay)
r2 = (a1 * r1 + (0xff - a1) * r2) >> 8;
g2 = (a1 * g1 + (0xff - a1) * g2) >> 8;
b2 = (a1 * b1 + (0xff - a1) * b2) >> 8;
- a2 = QMAX(a1, a2);
+ a2 = TQMAX(a1, a2);
sline[j] = tqRgba(r2, g2, b2, a2);
}
@@ -711,7 +711,7 @@ TDEIconEffect::visualActivate(TQWidget * widget, TQRect rect)
uint actSpeed = TDEGlobalSettings::visualActivateSpeed();
- uint actCount = QMIN(rect.width(), rect.height()) / 2;
+ uint actCount = TQMIN(rect.width(), rect.height()) / 2;
// Clip actCount to range 1..10.
@@ -749,7 +749,7 @@ TDEIconEffect::visualActivate(TQWidget * widget, TQRect rect)
// The spacing between the rects we draw.
// Use the minimum of width and height to avoid painting outside the
// pixmap area.
- //unsigned int delta(QMIN(rect.width() / actCount, rect.height() / actCount));
+ //unsigned int delta(TQMIN(rect.width() / actCount, rect.height() / actCount));
// Support for rectangles by David
unsigned int deltaX = rect.width() / actCount;