summaryrefslogtreecommitdiffstats
path: root/kate/app
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 /kate/app
parent1c37295608c6d783b2b710f423befbcfb0068bbd (diff)
downloadtdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz
tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'kate/app')
-rw-r--r--kate/app/katefilelist.cpp2
-rw-r--r--kate/app/katefileselector.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kate/app/katefilelist.cpp b/kate/app/katefilelist.cpp
index 05763e988..98857b3c3 100644
--- a/kate/app/katefilelist.cpp
+++ b/kate/app/katefilelist.cpp
@@ -588,7 +588,7 @@ void KateFileListItem::paintCell( TQPainter *painter, const TQColorGroup & cg, i
int v = hc-m_viewhistpos;
int e = ec-m_edithistpos+1;
e = e*e;
- int n = QMAX(v + e, 1);
+ int n = TQMAX(v + e, 1);
shade.setRgb(
((shade.red()*v) + (eshade.red()*e))/n,
((shade.green()*v) + (eshade.green()*e))/n,
diff --git a/kate/app/katefileselector.cpp b/kate/app/katefileselector.cpp
index 06cd0c3c3..c4b107912 100644
--- a/kate/app/katefileselector.cpp
+++ b/kate/app/katefileselector.cpp
@@ -488,7 +488,7 @@ bool KateFileSelector::eventFilter( TQObject* o, TQEvent *e )
TQListBox *lb = cmbPath->listBox();
if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(lb) && e->type() == TQEvent::Show ) {
int add = lb->height() < lb->contentsHeight() ? lb->verticalScrollBar()->width() : 0;
- int w = QMIN( mainwin->width(), lb->contentsWidth() + add );
+ int w = TQMIN( mainwin->width(), lb->contentsWidth() + add );
lb->resize( w, lb->height() );
// TODO - move the listbox to a suitable place if nessecary
// TODO - decide if it is worth caching the size while untill the contents