summaryrefslogtreecommitdiffstats
path: root/kpf/src/WebServer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:34:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /kpf/src/WebServer.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kpf/src/WebServer.cpp')
-rw-r--r--kpf/src/WebServer.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kpf/src/WebServer.cpp b/kpf/src/WebServer.cpp
index 20320a32..6d10d8bd 100644
--- a/kpf/src/WebServer.cpp
+++ b/kpf/src/WebServer.cpp
@@ -110,10 +110,10 @@ namespace KPF
loadConfig();
publish();
- connect(&d->bindTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotBind()));
- connect(&d->writeTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotWrite()));
- connect(&d->resetOutputTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotCheckOutput()));
- connect(&d->backlogTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotClearBacklog()));
+ connect(&d->bindTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotBind()));
+ connect(&d->writeTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotWrite()));
+ connect(&d->resetOutputTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotCheckOutput()));
+ connect(&d->backlogTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotClearBacklog()));
d->bindTimer .start( 0, true);
d->resetOutputTimer .start(1000 / SamplesPerSecond, false);
@@ -144,10 +144,10 @@ namespace KPF
saveConfig();
publish();
- connect(&d->bindTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotBind()));
- connect(&d->writeTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotWrite()));
- connect(&d->resetOutputTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotCheckOutput()));
- connect(&d->backlogTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotClearBacklog()));
+ connect(&d->bindTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotBind()));
+ connect(&d->writeTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotWrite()));
+ connect(&d->resetOutputTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotCheckOutput()));
+ connect(&d->backlogTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotClearBacklog()));
d->bindTimer .start( 0, true);
d->resetOutputTimer .start(1000 / SamplesPerSecond, false);
@@ -164,7 +164,7 @@ namespace KPF
void WebServer::publish()
{
d->service = new DNSSD::PublicService(d->serverName,"_http._tcp",d->listenPort);
- connect(d->service,TQT_SIGNAL(published(bool)),this,TQT_SLOT(wasPublished(bool)));
+ connect(d->service,TQ_SIGNAL(published(bool)),this,TQ_SLOT(wasPublished(bool)));
d->service->publishAsync();
}
@@ -195,7 +195,7 @@ namespace KPF
emit(contentionChange(d->portContention));
if (!d->portContention)
- connect(d->socket, TQT_SIGNAL(connection(int)), TQT_SLOT(slotConnection(int)));
+ connect(d->socket, TQ_SIGNAL(connection(int)), TQ_SLOT(slotConnection(int)));
else
{
@@ -277,18 +277,18 @@ namespace KPF
connect
(
s,
- TQT_SIGNAL(output(Server *, ulong)),
- TQT_SLOT(slotOutput(Server *, ulong))
+ TQ_SIGNAL(output(Server *, ulong)),
+ TQ_SLOT(slotOutput(Server *, ulong))
);
- connect(s, TQT_SIGNAL(finished(Server *)), TQT_SLOT(slotFinished(Server *)));
- connect(s, TQT_SIGNAL(request(Server *)), TQT_SIGNAL(request(Server *)));
- connect(s, TQT_SIGNAL(response(Server *)), TQT_SIGNAL(response(Server *)));
+ connect(s, TQ_SIGNAL(finished(Server *)), TQ_SLOT(slotFinished(Server *)));
+ connect(s, TQ_SIGNAL(request(Server *)), TQ_SIGNAL(request(Server *)));
+ connect(s, TQ_SIGNAL(response(Server *)), TQ_SIGNAL(response(Server *)));
d->serverList.append(s);
connect
- (s, TQT_SIGNAL(readyToWrite(Server *)), TQT_SLOT(slotReadyToWrite(Server *)));
+ (s, TQ_SIGNAL(readyToWrite(Server *)), TQ_SLOT(slotReadyToWrite(Server *)));
emit(connection(s));