diff options
author | Darrell Anderson <[email protected]> | 2013-11-28 13:30:19 -0600 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2013-11-28 13:30:19 -0600 |
commit | 90f1f50f00651f7bc9f8acf50556968b4288400d (patch) | |
tree | 8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /kdesktop/kdiconview.cc | |
parent | 1c37295608c6d783b2b710f423befbcfb0068bbd (diff) | |
download | tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip |
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'kdesktop/kdiconview.cc')
-rw-r--r-- | kdesktop/kdiconview.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdesktop/kdiconview.cc b/kdesktop/kdiconview.cc index 593290d86..f757d70b9 100644 --- a/kdesktop/kdiconview.cc +++ b/kdesktop/kdiconview.cc @@ -494,7 +494,7 @@ void KDIconView::setAutoAlign( bool b ) if ( b ) { // set maxItemWidth to ensure sane initial icon layout before the auto align code is fully activated int sz = iconSize() ? iconSize() : TDEGlobal::iconLoader()->currentSize( TDEIcon::Desktop ); - setMaxItemWidth( QMAX( QMAX( sz, previewIconSize( iconSize() ) ), KonqFMSettings::settings()->iconTextWidth() ) ); + setMaxItemWidth( TQMAX( TQMAX( sz, previewIconSize( iconSize() ) ), KonqFMSettings::settings()->iconTextWidth() ) ); setFont( font() ); // Force calcRect() if (!KRootWm::self()->startup) { @@ -509,7 +509,7 @@ void KDIconView::setAutoAlign( bool b ) else { // change maxItemWidth, because when grid-align was active, it changed this for the grid int sz = iconSize() ? iconSize() : TDEGlobal::iconLoader()->currentSize( TDEIcon::Desktop ); - setMaxItemWidth( QMAX( QMAX( sz, previewIconSize( iconSize() ) ), KonqFMSettings::settings()->iconTextWidth() ) ); + setMaxItemWidth( TQMAX( TQMAX( sz, previewIconSize( iconSize() ) ), KonqFMSettings::settings()->iconTextWidth() ) ); setFont( font() ); // Force calcRect() disconnect( this, TQT_SIGNAL( iconMoved() ), @@ -2001,8 +2001,8 @@ TQPoint KDIconView::findPlaceForIcon( int column, int row, const TQRect ¤t int dx = gridXValue(), dy = 0; TQIconViewItem *item = firstItem(); for ( ; item; item = item->nextItem() ) { - dx = QMAX( dx, item->width() ); - dy = QMAX( dy, item->height() ); + dx = TQMAX( dx, item->width() ); + dy = TQMAX( dy, item->height() ); } dx += spacing(); @@ -2016,7 +2016,7 @@ TQPoint KDIconView::findPlaceForIcon( int column, int row, const TQRect ¤t delta++; res = findPlaceForIconCol(column + (delta / 2) * (-2 * (delta % 2) + 1), dx, dy, currentIconArea); - if (delta / 2 > QMAX(max_cols - column, column)) + if (delta / 2 > TQMAX(max_cols - column, column)) return res; } while (res.isNull()); return res; @@ -2030,7 +2030,7 @@ TQPoint KDIconView::findPlaceForIcon( int column, int row, const TQRect ¤t delta++; res = findPlaceForIconRow(row + (delta / 2) * (-2 * (delta % 2) + 1), dx, dy, currentIconArea); - if (delta / 2 > QMAX(max_rows - row, row)) + if (delta / 2 > TQMAX(max_rows - row, row)) return res; } while (res.isNull()); return res; |