summaryrefslogtreecommitdiffstats
path: root/atlantik/atlanticd
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /atlantik/atlanticd
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'atlantik/atlanticd')
-rw-r--r--atlantik/atlanticd/atlanticclient.cpp2
-rw-r--r--atlantik/atlanticd/atlanticclient.h5
-rw-r--r--atlantik/atlanticd/atlanticdaemon.h3
-rw-r--r--atlantik/atlanticd/serversocket.h3
4 files changed, 8 insertions, 5 deletions
diff --git a/atlantik/atlanticd/atlanticclient.cpp b/atlantik/atlanticd/atlanticclient.cpp
index 0e4e3e12..a3baf2e6 100644
--- a/atlantik/atlanticd/atlanticclient.cpp
+++ b/atlantik/atlanticd/atlanticclient.cpp
@@ -20,7 +20,7 @@
#include "atlanticclient.h"
#include "atlanticclient.moc"
-AtlanticClient::AtlanticClient(TQObject *parent, const char *name) : TQSocket(parent, name)
+AtlanticClient::AtlanticClient(TQObject *tqparent, const char *name) : TQSocket(tqparent, name)
{
connect(this, TQT_SIGNAL(readyRead()), this, TQT_SLOT(readData()));
}
diff --git a/atlantik/atlanticd/atlanticclient.h b/atlantik/atlanticd/atlanticclient.h
index 8f63b88c..7b4dc19a 100644
--- a/atlantik/atlanticd/atlanticclient.h
+++ b/atlantik/atlanticd/atlanticclient.h
@@ -19,12 +19,13 @@
#include <tqsocket.h>
-class AtlanticClient : public QSocket
+class AtlanticClient : public TQSocket
{
Q_OBJECT
+ TQ_OBJECT
public:
- AtlanticClient(TQObject *parent = 0, const char *name = 0);
+ AtlanticClient(TQObject *tqparent = 0, const char *name = 0);
void sendData(const TQString &data);
private slots:
diff --git a/atlantik/atlanticd/atlanticdaemon.h b/atlantik/atlanticd/atlanticdaemon.h
index 2e107a0a..8de64c3e 100644
--- a/atlantik/atlanticd/atlanticdaemon.h
+++ b/atlantik/atlanticd/atlanticdaemon.h
@@ -25,9 +25,10 @@ class AtlanticCore;
class AtlanticClient;
class ServerSocket;
-class AtlanticDaemon : public QObject
+class AtlanticDaemon : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
AtlanticDaemon();
diff --git a/atlantik/atlanticd/serversocket.h b/atlantik/atlanticd/serversocket.h
index cc31c8ab..29550769 100644
--- a/atlantik/atlanticd/serversocket.h
+++ b/atlantik/atlanticd/serversocket.h
@@ -21,9 +21,10 @@
class AtlanticClient;
-class ServerSocket : public QServerSocket
+class ServerSocket : public TQServerSocket
{
Q_OBJECT
+ TQ_OBJECT
public:
ServerSocket(int port, int backlog);