summaryrefslogtreecommitdiffstats
path: root/examples/network/infoprotocol/infoserver
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/network/infoprotocol/infoserver
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/network/infoprotocol/infoserver')
-rw-r--r--examples/network/infoprotocol/infoserver/server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/network/infoprotocol/infoserver/server.cpp b/examples/network/infoprotocol/infoserver/server.cpp
index a405fd8ba..d71de6590 100644
--- a/examples/network/infoprotocol/infoserver/server.cpp
+++ b/examples/network/infoprotocol/infoserver/server.cpp
@@ -22,8 +22,8 @@ ServerInfo::ServerInfo( TQ_UINT16 port, TQWidget *parent, const char *name ) :
ServerInfoBase( parent, name )
{
SimpleServer *server = new SimpleServer( port, this, "simple server" );
- connect( server, SIGNAL(newConnect()), SLOT(newConnect()) );
- connect( btnQuit, SIGNAL(clicked()), tqApp, SLOT(quit()) );
+ connect( server, TQ_SIGNAL(newConnect()), TQ_SLOT(newConnect()) );
+ connect( btnQuit, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit()) );
}
void ServerInfo::newConnect()
@@ -51,8 +51,8 @@ void SimpleServer::newConnection( int socket )
ClientSocket::ClientSocket( int sock, InfoData *i, TQObject *parent, const char *name ) :
TQSocket( parent, name ), info( i )
{
- connect( this, SIGNAL(readyRead()), SLOT(readClient()) );
- connect( this, SIGNAL(connectionClosed()), SLOT(connectionClosed()) );
+ connect( this, TQ_SIGNAL(readyRead()), TQ_SLOT(readClient()) );
+ connect( this, TQ_SIGNAL(connectionClosed()), TQ_SLOT(connectionClosed()) );
setSocket( sock );
}