summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/clientserver/client/client.cpp2
-rw-r--r--examples/network/clientserver/server/server.cpp6
-rw-r--r--examples/network/httpd/httpd.cpp4
-rw-r--r--examples/network/infoprotocol/infoclient/client.h2
-rw-r--r--examples/network/infoprotocol/infoserver/server.h6
-rw-r--r--examples/network/infoprotocol/infourlclient/client.h2
-rw-r--r--examples/network/infoprotocol/infourlclient/qip.h2
-rw-r--r--examples/network/mail/composer.h2
-rw-r--r--examples/network/mail/smtp.h2
-rw-r--r--examples/network/networkprotocol/nntp.h2
-rw-r--r--examples/network/networkprotocol/view.h2
-rw-r--r--examples/network/remotecontrol/ipcserver.cpp2
-rw-r--r--examples/network/remotecontrol/ipcserver.h2
-rw-r--r--examples/network/remotecontrol/remotectrlimpl.h2
-rw-r--r--examples/network/remotecontrol/startup.h2
15 files changed, 20 insertions, 20 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()
{
diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp
index 6f7146b1a..3c8b94b38 100644
--- a/examples/network/httpd/httpd.cpp
+++ b/examples/network/httpd/httpd.cpp
@@ -21,7 +21,7 @@
// HttpDaemon is the the class that implements the simple HTTP server.
class HttpDaemon : public TQServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
HttpDaemon( TQObject* parent=0 ) :
TQServerSocket(8080,1,parent)
@@ -84,7 +84,7 @@ private slots:
// the actions of the server.
class HttpInfo : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
HttpInfo()
{
diff --git a/examples/network/infoprotocol/infoclient/client.h b/examples/network/infoprotocol/infoclient/client.h
index 50a31bdad..e25906864 100644
--- a/examples/network/infoprotocol/infoclient/client.h
+++ b/examples/network/infoprotocol/infoclient/client.h
@@ -22,7 +22,7 @@ static const Q_UINT16 infoPort = 42417;
class ClientInfo : public ClientInfoBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientInfo( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/network/infoprotocol/infoserver/server.h b/examples/network/infoprotocol/infoserver/server.h
index 87683b89a..33fb67821 100644
--- a/examples/network/infoprotocol/infoserver/server.h
+++ b/examples/network/infoprotocol/infoserver/server.h
@@ -25,7 +25,7 @@ static const Q_UINT16 infoPort = 42417;
*/
class ServerInfo : public ServerInfoBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ServerInfo( Q_UINT16 port = infoPort, TQWidget *parent = 0, const char *name = 0 );
@@ -36,7 +36,7 @@ private slots:
class SimpleServer : public TQServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
SimpleServer( Q_UINT16 port = infoPort, TQObject* parent = 0, const char *name = 0 );
void newConnection( int socket );
@@ -51,7 +51,7 @@ private:
class ClientSocket : public TQSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientSocket( int sock, InfoData *i, TQObject *parent = 0, const char *name = 0 );
diff --git a/examples/network/infoprotocol/infourlclient/client.h b/examples/network/infoprotocol/infourlclient/client.h
index 42e1e303b..43641efb5 100644
--- a/examples/network/infoprotocol/infourlclient/client.h
+++ b/examples/network/infoprotocol/infourlclient/client.h
@@ -17,7 +17,7 @@
class ClientInfo : public ClientInfoBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientInfo( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/network/infoprotocol/infourlclient/qip.h b/examples/network/infoprotocol/infourlclient/qip.h
index cb748a3ba..ee70383d4 100644
--- a/examples/network/infoprotocol/infourlclient/qip.h
+++ b/examples/network/infoprotocol/infourlclient/qip.h
@@ -19,7 +19,7 @@ static const Q_UINT16 infoPort = 42417;
class Qip : public TQNetworkProtocol
{
- Q_OBJECT
+ TQ_OBJECT
public:
Qip();
diff --git a/examples/network/mail/composer.h b/examples/network/mail/composer.h
index dcf46fc54..0a29dcf7d 100644
--- a/examples/network/mail/composer.h
+++ b/examples/network/mail/composer.h
@@ -21,7 +21,7 @@ class TQPushButton;
class Composer : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Composer( TQWidget *parent = 0 );
diff --git a/examples/network/mail/smtp.h b/examples/network/mail/smtp.h
index f8c787e13..deb84890a 100644
--- a/examples/network/mail/smtp.h
+++ b/examples/network/mail/smtp.h
@@ -19,7 +19,7 @@ class TQDns;
class Smtp : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
Smtp( const TQString &from, const TQString &to,
diff --git a/examples/network/networkprotocol/nntp.h b/examples/network/networkprotocol/nntp.h
index 0e9fa2808..c09a3ea4a 100644
--- a/examples/network/networkprotocol/nntp.h
+++ b/examples/network/networkprotocol/nntp.h
@@ -15,7 +15,7 @@
class Nntp : public TQNetworkProtocol
{
- Q_OBJECT
+ TQ_OBJECT
public:
Nntp();
diff --git a/examples/network/networkprotocol/view.h b/examples/network/networkprotocol/view.h
index d76a7f4fb..b69138e27 100644
--- a/examples/network/networkprotocol/view.h
+++ b/examples/network/networkprotocol/view.h
@@ -18,7 +18,7 @@ class TQMultiLineEdit;
class View : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
View();
diff --git a/examples/network/remotecontrol/ipcserver.cpp b/examples/network/remotecontrol/ipcserver.cpp
index 6a1d10cd7..f7f52ab48 100644
--- a/examples/network/remotecontrol/ipcserver.cpp
+++ b/examples/network/remotecontrol/ipcserver.cpp
@@ -8,7 +8,7 @@
class IpcSocket : public TQSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
IpcSocket( TQObject *parent) : TQSocket( parent )
diff --git a/examples/network/remotecontrol/ipcserver.h b/examples/network/remotecontrol/ipcserver.h
index d9188f1e5..b2b17f615 100644
--- a/examples/network/remotecontrol/ipcserver.h
+++ b/examples/network/remotecontrol/ipcserver.h
@@ -5,7 +5,7 @@
class IpcServer : public TQServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
IpcServer( Q_UINT16 port, TQObject *parent );
diff --git a/examples/network/remotecontrol/remotectrlimpl.h b/examples/network/remotecontrol/remotectrlimpl.h
index a14d1be76..a48d5431f 100644
--- a/examples/network/remotecontrol/remotectrlimpl.h
+++ b/examples/network/remotecontrol/remotectrlimpl.h
@@ -7,7 +7,7 @@ class TQSocket;
class RemoteCtrlImpl : public RemoteCtrl
{
- Q_OBJECT
+ TQ_OBJECT
public:
RemoteCtrlImpl( TQSocket * );
diff --git a/examples/network/remotecontrol/startup.h b/examples/network/remotecontrol/startup.h
index 10922d267..a3359f573 100644
--- a/examples/network/remotecontrol/startup.h
+++ b/examples/network/remotecontrol/startup.h
@@ -9,7 +9,7 @@ class MainDialog;
class StartUp : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
StartUp();