From 90f1f50f00651f7bc9f8acf50556968b4288400d Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 28 Nov 2013 13:30:19 -0600 Subject: Fix remnant QMIN/QMAX to TQMIN/TQMAX. --- twin/geometry.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'twin/geometry.cpp') diff --git a/twin/geometry.cpp b/twin/geometry.cpp index 84f3fa25f..5c71e7c1f 100644 --- a/twin/geometry.cpp +++ b/twin/geometry.cpp @@ -717,10 +717,10 @@ void Client::keepInArea( TQRect area, bool partial ) if( partial ) { // increase the area so that can have only 100 pixels in the area - area.setLeft( QMIN( area.left() - width() + 100, area.left())); - area.setTop( QMIN( area.top() - height() + 100, area.top())); - area.setRight( QMAX( area.right() + width() - 100, area.right())); - area.setBottom( QMAX( area.bottom() + height() - 100, area.bottom())); + area.setLeft( TQMIN( area.left() - width() + 100, area.left())); + area.setTop( TQMIN( area.top() - height() + 100, area.top())); + area.setRight( TQMAX( area.right() + width() - 100, area.right())); + area.setBottom( TQMAX( area.bottom() + height() - 100, area.bottom())); } if ( geometry().right() > area.right() && width() < area.width() ) move( area.right() - width(), y() ); @@ -1131,10 +1131,10 @@ TQSize Client::sizeForClientSize( const TQSize& wsize, Sizemode mode, bool nofra if( decominsize.height() > min_size.height()) min_size.setHeight( decominsize.height()); } - w = QMIN( max_size.width(), w ); - h = QMIN( max_size.height(), h ); - w = QMAX( min_size.width(), w ); - h = QMAX( min_size.height(), h ); + w = TQMIN( max_size.width(), w ); + h = TQMIN( max_size.height(), h ); + w = TQMAX( min_size.width(), w ); + h = TQMAX( min_size.height(), h ); int w1 = w; int h1 = h; @@ -1307,8 +1307,8 @@ void Client::getWmNormalHints() xSizeHint.max_width = xSizeHint.max_height = INT_MAX; else { - xSizeHint.max_width = QMAX( xSizeHint.max_width, 1 ); - xSizeHint.max_height = QMAX( xSizeHint.max_height, 1 ); + xSizeHint.max_width = TQMAX( xSizeHint.max_width, 1 ); + xSizeHint.max_height = TQMAX( xSizeHint.max_height, 1 ); } if( xSizeHint.flags & PResizeInc ) { -- cgit v1.2.3