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. --- tdesu/tdesud/repo.cpp | 4 ++-- tdesu/tdesud/tdesud.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tdesu') diff --git a/tdesu/tdesud/repo.cpp b/tdesu/tdesud/repo.cpp index e923d6411..296199438 100644 --- a/tdesu/tdesud/repo.cpp +++ b/tdesu/tdesud/repo.cpp @@ -34,7 +34,7 @@ void Repository::add(const TQCString &key, Data_entry &data) data.timeout = (unsigned) -1; else data.timeout += time(0L); - head_time = QMIN(head_time, data.timeout); + head_time = TQMIN(head_time, data.timeout); repo.insert(key, data); } @@ -177,7 +177,7 @@ int Repository::expire() if (t <= current) keys.push(it.key()); else - head_time = QMIN(head_time, t); + head_time = TQMIN(head_time, t); } int n = keys.count(); diff --git a/tdesu/tdesud/tdesud.cpp b/tdesu/tdesud/tdesud.cpp index 92295445e..5e4f5122a 100644 --- a/tdesu/tdesud/tdesud.cpp +++ b/tdesu/tdesud/tdesud.cpp @@ -294,14 +294,14 @@ int main(int argc, char *argv[]) // Make sure we exit when the display gets closed. int x11Fd = initXconnection(); - maxfd = QMAX(maxfd, x11Fd); + maxfd = TQMAX(maxfd, x11Fd); repo = new Repository; TQPtrVector handler; handler.setAutoDelete(true); pipe(pipeOfDeath); - maxfd = QMAX(maxfd, pipeOfDeath[0]); + maxfd = TQMAX(maxfd, pipeOfDeath[0]); // Signal handlers struct sigaction sa; -- cgit v1.2.1