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. --- nsplugins/viewer/kxt.cpp | 2 +- nsplugins/viewer/nsplugin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nsplugins') diff --git a/nsplugins/viewer/kxt.cpp b/nsplugins/viewer/kxt.cpp index e2ab625ed..2c374f2cd 100644 --- a/nsplugins/viewer/kxt.cpp +++ b/nsplugins/viewer/kxt.cpp @@ -281,7 +281,7 @@ static void np_do_timers( void*, void* ) timeval *tm = qt_wait_timer(); if (tm) { - int interval = QMIN(tm->tv_sec,INT_MAX/1000)*1000 + tm->tv_usec/1000; + int interval = TQMIN(tm->tv_sec,INT_MAX/1000)*1000 + tm->tv_usec/1000; np_set_timer( interval ); } qxtapp->sendPostedEvents(); diff --git a/nsplugins/viewer/nsplugin.cpp b/nsplugins/viewer/nsplugin.cpp index 8d41f9439..09e4f382c 100644 --- a/nsplugins/viewer/nsplugin.cpp +++ b/nsplugins/viewer/nsplugin.cpp @@ -1700,7 +1700,7 @@ int NSPluginStreamBase::process( const TQByteArray &data, int start ) max = _instance->NPWriteReady(_stream); //kdDebug(1431) << "to_sent == " << to_sent << " and max = " << max << endl; - len = QMIN(max, to_sent); + len = TQMIN(max, to_sent); //kdDebug(1431) << "-> Feeding stream to plugin: offset=" << _pos << ", len=" << len << endl; sent = _instance->NPWrite( _stream, _pos, len, d ); -- cgit v1.2.3