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. --- kfind/kfwin.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kfind') diff --git a/kfind/kfwin.cpp b/kfind/kfwin.cpp index 7364aeb73..3eb10e1b4 100644 --- a/kfind/kfwin.cpp +++ b/kfind/kfwin.cpp @@ -370,20 +370,20 @@ void KfindWindow::resetColumns(bool init) TQFontMetrics fm = fontMetrics(); if (init) { - setColumnWidth(2, QMAX(fm.width(columnText(2)), fm.width("0000000")) + 15); + setColumnWidth(2, TQMAX(fm.width(columnText(2)), fm.width("0000000")) + 15); TQString sampleDate = TDEGlobal::locale()->formatDateTime(TQDateTime::currentDateTime()); - setColumnWidth(3, QMAX(fm.width(columnText(3)), fm.width(sampleDate)) + 15); - setColumnWidth(4, QMAX(fm.width(columnText(4)), fm.width(i18n(perm[RO]))) + 15); - setColumnWidth(5, QMAX(fm.width(columnText(5)), fm.width("some text")) + 15); + setColumnWidth(3, TQMAX(fm.width(columnText(3)), fm.width(sampleDate)) + 15); + setColumnWidth(4, TQMAX(fm.width(columnText(4)), fm.width(i18n(perm[RO]))) + 15); + setColumnWidth(5, TQMAX(fm.width(columnText(5)), fm.width("some text")) + 15); } int free_space = visibleWidth() - columnWidth(2) - columnWidth(3) - columnWidth(4) - columnWidth(5); -// int name_w = QMIN((int)(free_space*0.5), 150); +// int name_w = TQMIN((int)(free_space*0.5), 150); // int dir_w = free_space - name_w; - int name_w = QMAX((int)(free_space*0.5), fm.width("some long filename")); + int name_w = TQMAX((int)(free_space*0.5), fm.width("some long filename")); int dir_w = name_w; setColumnWidth(0, name_w); -- cgit v1.2.1