diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:28:01 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:28:01 -0600 |
commit | 72849e2a6f973af3eeaa573a66635e37cc427bb0 (patch) | |
tree | 2d3beea645819ba70a32c19a092a874f4e89c399 /tdestyles/light/lightstyle-v2.cpp | |
parent | b46a7c35c167304acc48675b979ca8b32bc3d293 (diff) | |
download | tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip |
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdestyles/light/lightstyle-v2.cpp')
-rw-r--r-- | tdestyles/light/lightstyle-v2.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdestyles/light/lightstyle-v2.cpp b/tdestyles/light/lightstyle-v2.cpp index 0d343f778..35b7cc813 100644 --- a/tdestyles/light/lightstyle-v2.cpp +++ b/tdestyles/light/lightstyle-v2.cpp @@ -838,7 +838,7 @@ void LightStyleV2::drawControl( TQ_ControlElement control, if ( !mi ) break; - maxpmw = QMAX(maxpmw, 16); + maxpmw = TQMAX(maxpmw, 16); TQRect cr, ir, tr, sr; // check column @@ -1579,11 +1579,11 @@ TQSize LightStyleV2::sizeFromContents( ContentsType contents, if (h < 16) h = 16; if (mi->pixmap()) - h = QMAX(h, mi->pixmap()->height()); + h = TQMAX(h, mi->pixmap()->height()); else if (! mi->text().isNull()) - h = QMAX(h, TQFontMetrics(ceData.font).height() + 2); + h = TQMAX(h, TQFontMetrics(ceData.font).height() + 2); if (mi->iconSet() != 0) - h = QMAX(h, mi->iconSet()->pixmap(TQIconSet::Small, + h = TQMAX(h, mi->iconSet()->pixmap(TQIconSet::Small, TQIconSet::Normal).height()); h += 2; } @@ -1591,7 +1591,7 @@ TQSize LightStyleV2::sizeFromContents( ContentsType contents, // check | 4 pixels | item | 8 pixels | accel | 4 pixels | check // check is at least 16x16 - maxpmw = QMAX(maxpmw, 16); + maxpmw = TQMAX(maxpmw, 16); w += (maxpmw * 2) + 8; if (! mi->text().isNull() && mi->text().find('\t') >= 0) @@ -1654,7 +1654,7 @@ int LightStyleV2::styleHint( TQ_StyleHint stylehint, case SH_MenuIndicatorColumnWidth: { int maxpmw = option.maxIconWidth(); - maxpmw = QMAX(maxpmw, 16); + maxpmw = TQMAX(maxpmw, 16); ret = maxpmw; } |