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. --- kate/app/katefilelist.cpp | 2 +- kate/app/katefileselector.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kate') 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 -- cgit v1.2.1