From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- examples/network/infoprotocol/infoserver/server.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/network/infoprotocol/infoserver') 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 ); } -- cgit v1.2.1