summaryrefslogtreecommitdiffstats
path: root/tdesu
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu')
-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;