summaryrefslogtreecommitdiffstats
path: root/atlantik/atlanticd/atlanticdaemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/atlanticd/atlanticdaemon.cpp')
-rw-r--r--atlantik/atlanticd/atlanticdaemon.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/atlantik/atlanticd/atlanticdaemon.cpp b/atlantik/atlanticd/atlanticdaemon.cpp
index 3fb80cf0..84a27925 100644
--- a/atlantik/atlanticd/atlanticdaemon.cpp
+++ b/atlantik/atlanticd/atlanticdaemon.cpp
@@ -14,9 +14,9 @@
// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
// Boston, MA 02110-1301, USA.
-#include <qtimer.h>
-#include <qsocket.h>
-#include <qstring.h>
+#include <tqtimer.h>
+#include <tqsocket.h>
+#include <tqstring.h>
#include <atlantic_core.h>
@@ -28,13 +28,13 @@
AtlanticDaemon::AtlanticDaemon()
{
m_serverSocket = new ServerSocket(1234, 100);
- connect(m_serverSocket, SIGNAL(newClient(AtlanticClient *)), this, SLOT(newClient(AtlanticClient *)));
+ connect(m_serverSocket, TQT_SIGNAL(newClient(AtlanticClient *)), this, TQT_SLOT(newClient(AtlanticClient *)));
m_atlanticCore = new AtlanticCore(this, "atlanticCore");
// Create socket for Monopigator
- m_monopigatorSocket = new QSocket();
- connect(m_monopigatorSocket, SIGNAL(connected()), this, SLOT(monopigatorConnected()));
+ m_monopigatorSocket = new TQSocket();
+ connect(m_monopigatorSocket, TQT_SIGNAL(connected()), this, TQT_SLOT(monopigatorConnected()));
// Register server
monopigatorRegister();
@@ -52,21 +52,21 @@ void AtlanticDaemon::monopigatorRegister()
void AtlanticDaemon::monopigatorConnected()
{
- QString get = "GET /register.php?host=capsi.com&port=1234&version=atlanticd-prototype HTTP/1.1\nHost: gator.monopd.net\n\n";
+ TQString get = "GET /register.php?host=capsi.com&port=1234&version=atlanticd-prototype HTTP/1.1\nHost: gator.monopd.net\n\n";
m_monopigatorSocket->writeBlock(get.latin1(), get.length());
m_monopigatorSocket->close();
// Monopigator clears old entries, so keep registering every 180s
- QTimer::singleShot(180000, this, SLOT(monopigatorRegister()));
+ TQTimer::singleShot(180000, this, TQT_SLOT(monopigatorRegister()));
}
void AtlanticDaemon::newClient(AtlanticClient *client)
{
m_clients.append(client);
- connect(client, SIGNAL(clientInput(AtlanticClient *, const QString &)), this, SLOT(clientInput(AtlanticClient *, const QString &)));
+ connect(client, TQT_SIGNAL(clientInput(AtlanticClient *, const TQString &)), this, TQT_SLOT(clientInput(AtlanticClient *, const TQString &)));
}
-void AtlanticDaemon::clientInput(AtlanticClient *client, const QString &data)
+void AtlanticDaemon::clientInput(AtlanticClient *client, const TQString &data)
{
}