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 /tdeui/kdialog.cpp | |
parent | b46a7c35c167304acc48675b979ca8b32bc3d293 (diff) | |
download | tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip |
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdeui/kdialog.cpp')
-rw-r--r-- | tdeui/kdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/kdialog.cpp b/tdeui/kdialog.cpp index 6d66d8efd..d4eb568a3 100644 --- a/tdeui/kdialog.cpp +++ b/tdeui/kdialog.cpp @@ -223,11 +223,11 @@ bool KDialog::avoidArea( TQWidget *w, const TQRect& area, int screen ) avoid.rRight() += 10; avoid.rBottom() += 10; - if ( QMAX( fg.top(), avoid.top() ) <= QMIN( fg.bottom(), avoid.bottom() ) ) + if ( TQMAX( fg.top(), avoid.top() ) <= TQMIN( fg.bottom(), avoid.bottom() ) ) { // We need to move the widget up or down - int spaceAbove = QMAX(0, avoid.top() - scr.top()); - int spaceBelow = QMAX(0, scr.bottom() - avoid.bottom()); + int spaceAbove = TQMAX(0, avoid.top() - scr.top()); + int spaceBelow = TQMAX(0, scr.bottom() - avoid.bottom()); if ( spaceAbove > spaceBelow ) // where's the biggest side? if ( fg.height() <= spaceAbove ) // big enough? fg.setY( avoid.top() - fg.height() ); @@ -240,11 +240,11 @@ bool KDialog::avoidArea( TQWidget *w, const TQRect& area, int screen ) return false; } - if ( QMAX( fg.left(), avoid.left() ) <= QMIN( fg.right(), avoid.right() ) ) + if ( TQMAX( fg.left(), avoid.left() ) <= TQMIN( fg.right(), avoid.right() ) ) { // We need to move the widget left or right - int spaceLeft = QMAX(0, avoid.left() - scr.left()); - int spaceRight = QMAX(0, scr.right() - avoid.right()); + int spaceLeft = TQMAX(0, avoid.left() - scr.left()); + int spaceRight = TQMAX(0, scr.right() - avoid.right()); if ( spaceLeft > spaceRight ) // where's the biggest side? if ( fg.width() <= spaceLeft ) // big enough? fg.setX( avoid.left() - fg.width() ); |