summaryrefslogtreecommitdiffstats
path: root/kpf/src/WebServer.cpp
diff options
context:
space:
mode:
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));