summaryrefslogtreecommitdiffstats
path: root/kfind
diff options
context:
space:
mode:
Diffstat (limited to 'kfind')
-rw-r--r--kfind/kfwin.cpp12
1 files changed, 6 insertions, 6 deletions
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);