diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /kpf/src/Server.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kpf/src/Server.cpp')
-rw-r--r-- | kpf/src/Server.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpf/src/Server.cpp b/kpf/src/Server.cpp index 0959d801..69a11519 100644 --- a/kpf/src/Server.cpp +++ b/kpf/src/Server.cpp @@ -57,34 +57,34 @@ namespace KPF d->socket.setSocket(socket); - connect(&(d->socket), TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead())); + connect(&(d->socket), TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead())); connect ( &(d->socket), - TQT_SIGNAL(bytesWritten(int)), - TQT_SLOT(slotBytesWritten(int)) + TQ_SIGNAL(bytesWritten(int)), + TQ_SLOT(slotBytesWritten(int)) ); connect ( &(d->socket), - TQT_SIGNAL(connectionClosed()), - TQT_SLOT(slotConnectionClosed()) + TQ_SIGNAL(connectionClosed()), + TQ_SLOT(slotConnectionClosed()) ); connect ( &(d->idleTimer), - TQT_SIGNAL(timeout()), - TQT_SLOT(slotTimeout()) + TQ_SIGNAL(timeout()), + TQ_SLOT(slotTimeout()) ); connect ( &(d->readTimer), - TQT_SIGNAL(timeout()), - TQT_SLOT(slotRead()) + TQ_SIGNAL(timeout()), + TQ_SLOT(slotRead()) ); // If nothing happens for a bit, cancel ourselves. @@ -207,7 +207,7 @@ namespace KPF TQStringList l(TQStringList::split(' ', line)); - // A request usually looks like TQT_METHOD PATH PROTOCOL but we don't + // A request usually looks like METHOD PATH PROTOCOL but we don't // require PROTOCOL - we just assume HTTP/0.9 and act accordingly. if (l.count() == 2) @@ -238,7 +238,7 @@ namespace KPF bool Server::checkRequest() { - // We only handle TQT_METHOD of GET or HEAD. + // We only handle METHOD of GET or HEAD. if (Request::Unsupported == d->request.method()) { |