summaryrefslogtreecommitdiffstats
path: root/tdesu/tdesud
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-28 13:30:19 -0600
committerDarrell Anderson <[email protected]>2013-11-28 13:30:19 -0600
commit90f1f50f00651f7bc9f8acf50556968b4288400d (patch)
tree8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /tdesu/tdesud
parent1c37295608c6d783b2b710f423befbcfb0068bbd (diff)
downloadtdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz
tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdesu/tdesud')
-rw-r--r--tdesu/tdesud/repo.cpp4
-rw-r--r--tdesu/tdesud/tdesud.cpp4
2 files changed, 4 insertions, 4 deletions
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<ConnectionHandler> handler;
handler.setAutoDelete(true);
pipe(pipeOfDeath);
- maxfd = QMAX(maxfd, pipeOfDeath[0]);
+ maxfd = TQMAX(maxfd, pipeOfDeath[0]);
// Signal handlers
struct sigaction sa;