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-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kpf/src/WebServer.cpp
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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));