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/highcolor | |
parent | b46a7c35c167304acc48675b979ca8b32bc3d293 (diff) | |
download | tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip |
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdestyles/highcolor')
-rw-r--r-- | tdestyles/highcolor/highcolor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdestyles/highcolor/highcolor.cpp b/tdestyles/highcolor/highcolor.cpp index 4fccff059..353fee30d 100644 --- a/tdestyles/highcolor/highcolor.cpp +++ b/tdestyles/highcolor/highcolor.cpp @@ -1347,7 +1347,7 @@ void HighColorStyle::drawControl( TQ_ControlElement element, r.rect( &x, &y, &w, &h ); if ( checkable ) - checkcol = QMAX( checkcol, 20 ); + checkcol = TQMAX( checkcol, 20 ); // Are we a menu item separator? if ( mi->isSeparator() ) { @@ -1872,7 +1872,7 @@ int HighColorStyle::styleHint(StyleHint sh, const TQStyleControlElementData &ceD bool checkable = (elementFlags & CEF_IsCheckable); if ( checkable ) - checkcol = QMAX( checkcol, 20 ); + checkcol = TQMAX( checkcol, 20 ); ret = checkcol; } @@ -1950,17 +1950,17 @@ TQSize HighColorStyle::sizeFromContents( ContentsType contents, } else { if ( mi->pixmap() ) - h = QMAX( h, mi->pixmap()->height() + 2*itemFrame ); + h = TQMAX( h, mi->pixmap()->height() + 2*itemFrame ); else { // Ensure that the minimum height for text-only menu items // is the same as the icon size used by KDE. - h = QMAX( h, 16 + 2*itemFrame ); - h = QMAX( h, popup->fontMetrics().height() + h = TQMAX( h, 16 + 2*itemFrame ); + h = TQMAX( h, popup->fontMetrics().height() + 2*itemVMargin + 2*itemFrame ); } if ( mi->iconSet() ) - h = QMAX( h, mi->iconSet()->pixmap( + h = TQMAX( h, mi->iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal).height() + 2 * itemFrame ); } |