summaryrefslogtreecommitdiffstats
path: root/tdestyles/light/lightstyle-v3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdestyles/light/lightstyle-v3.cpp')
-rw-r--r--tdestyles/light/lightstyle-v3.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdestyles/light/lightstyle-v3.cpp b/tdestyles/light/lightstyle-v3.cpp
index 735bd3169..92b0d04da 100644
--- a/tdestyles/light/lightstyle-v3.cpp
+++ b/tdestyles/light/lightstyle-v3.cpp
@@ -958,7 +958,7 @@ void LightStyleV3::drawControl( TQ_ControlElement control,
if ( !mi )
break;
- maxpmw = QMAX(maxpmw, 16);
+ maxpmw = TQMAX(maxpmw, 16);
TQRect cr, ir, tr, sr;
// check column
@@ -1807,11 +1807,11 @@ TQSize LightStyleV3::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;
}
@@ -1819,7 +1819,7 @@ TQSize LightStyleV3::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)
@@ -1887,7 +1887,7 @@ int LightStyleV3::styleHint( TQ_StyleHint stylehint,
case SH_MenuIndicatorColumnWidth:
{
int maxpmw = option.maxIconWidth();
- maxpmw = QMAX(maxpmw, 16);
+ maxpmw = TQMAX(maxpmw, 16);
ret = maxpmw;
}