summaryrefslogtreecommitdiffstats
path: root/examples/network/clientserver
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/clientserver')
-rw-r--r--examples/network/clientserver/client/client.cpp2
-rw-r--r--examples/network/clientserver/server/server.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/network/clientserver/client/client.cpp b/examples/network/clientserver/client/client.cpp
index 6a1a8eb00..26daf93b0 100644
--- a/examples/network/clientserver/client/client.cpp
+++ b/examples/network/clientserver/client/client.cpp
@@ -20,7 +20,7 @@
class Client : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
Client( const TQString &host, Q_UINT16 port )
{
diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp
index cde5cc7c0..c7644b107 100644
--- a/examples/network/clientserver/server/server.cpp
+++ b/examples/network/clientserver/server/server.cpp
@@ -26,7 +26,7 @@
*/
class ClientSocket : public TQSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientSocket( int sock, TQObject *parent=0, const char *name=0 ) :
TQSocket( parent, name )
@@ -73,7 +73,7 @@ private:
*/
class SimpleServer : public TQServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
SimpleServer( TQObject* parent=0 ) :
TQServerSocket( 4242, 1, parent )
@@ -105,7 +105,7 @@ signals:
*/
class ServerInfo : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
ServerInfo()
{