summaryrefslogtreecommitdiffstats
path: root/tdestyles/plastik
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 /tdestyles/plastik
parentb46a7c35c167304acc48675b979ca8b32bc3d293 (diff)
downloadtdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz
tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdestyles/plastik')
-rw-r--r--tdestyles/plastik/plastik.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tdestyles/plastik/plastik.cpp b/tdestyles/plastik/plastik.cpp
index e7b6acd7f..8a4c92a38 100644
--- a/tdestyles/plastik/plastik.cpp
+++ b/tdestyles/plastik/plastik.cpp
@@ -1544,7 +1544,7 @@ void PlastikStyle::drawPrimitive(TQ_PrimitiveElement pe,
case PE_SpinWidgetMinus: {
p->setPen( cg.buttonText() );
- int l = QMIN( w-2, h-2 );
+ int l = TQMIN( w-2, h-2 );
// make the length even so that we get a nice symmetric plus...
if(l%2 != 0)
--l;
@@ -2527,7 +2527,7 @@ void PlastikStyle::drawControl(TQ_ControlElement element,
bool etchtext = styleHint( SH_EtchDisabledText, ceData, elementFlags );
bool reverse = TQApplication::reverseLayout();
if ( checkable )
- checkcol = QMAX( checkcol, 20 );
+ checkcol = TQMAX( checkcol, 20 );
// Draw the menu item background
if (active) {
@@ -3228,9 +3228,9 @@ TQRect PlastikStyle::querySubControlMetrics(TQ_ComplexControl control,
TQSize bs;
if(heightDividable) {
- bs.setHeight(QMAX(8, (r.height()-2)/2));
+ bs.setHeight(TQMAX(8, (r.height()-2)/2));
} else {
- bs.setHeight(QMAX(8, (r.height()-2-1)/2));
+ bs.setHeight(TQMAX(8, (r.height()-2-1)/2));
}
bs.setWidth(15);
@@ -3408,14 +3408,14 @@ TQSize PlastikStyle::sizeFromContents(ContentsType t,
h = 2;
} else {
if (mi->pixmap()) {
- h = QMAX(h, mi->pixmap()->height() + 2);
+ h = TQMAX(h, mi->pixmap()->height() + 2);
} else {
- h = QMAX(h, 16 + 2 );
- h = QMAX(h, popup->fontMetrics().height() + 4 );
+ h = TQMAX(h, 16 + 2 );
+ h = TQMAX(h, popup->fontMetrics().height() + 4 );
}
if (mi->iconSet()) {
- h = QMAX(h, mi->iconSet()->pixmap(TQIconSet::Small, TQIconSet::Normal).height() + 2);
+ h = TQMAX(h, mi->iconSet()->pixmap(TQIconSet::Small, TQIconSet::Normal).height() + 2);
}
}
@@ -3483,7 +3483,7 @@ int PlastikStyle::styleHint( TQ_StyleHint stylehint,
bool checkable = (elementFlags & CEF_IsCheckable);
if ( checkable )
- checkcol = QMAX( checkcol, 20 );
+ checkcol = TQMAX( checkcol, 20 );
return checkcol;
}