diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:30:19 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:30:19 -0600 |
commit | 90f1f50f00651f7bc9f8acf50556968b4288400d (patch) | |
tree | 8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /nsplugins/viewer | |
parent | 1c37295608c6d783b2b710f423befbcfb0068bbd (diff) | |
download | tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip |
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'nsplugins/viewer')
-rw-r--r-- | nsplugins/viewer/kxt.cpp | 2 | ||||
-rw-r--r-- | nsplugins/viewer/nsplugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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 ); |