summaryrefslogtreecommitdiffstats
path: root/kfind/kfwin.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:30:19 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:30:19 -0600
commit90f1f50f00651f7bc9f8acf50556968b4288400d (patch)
tree8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /kfind/kfwin.cpp
parent1c37295608c6d783b2b710f423befbcfb0068bbd (diff)
downloadtdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz
tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'kfind/kfwin.cpp')
-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);