summaryrefslogtreecommitdiffstats
path: root/examples/network/clientserver/server
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/network/clientserver/server
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/network/clientserver/server')
-rw-r--r--examples/network/clientserver/server/server.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp
index e2b04e4a8..3d974cb50 100644
--- a/examples/network/clientserver/server/server.cpp
+++ b/examples/network/clientserver/server/server.cpp
@@ -32,10 +32,10 @@ public:
TQSocket( parent, name )
{
line = 0;
- connect( this, SIGNAL(readyRead()),
- SLOT(readClient()) );
- connect( this, SIGNAL(connectionClosed()),
- SLOT(deleteLater()) );
+ connect( this, TQ_SIGNAL(readyRead()),
+ TQ_SLOT(readClient()) );
+ connect( this, TQ_SIGNAL(connectionClosed()),
+ TQ_SLOT(deleteLater()) );
setSocket( sock );
}
@@ -120,10 +120,10 @@ public:
infoText = new TQTextView( this );
TQPushButton *quit = new TQPushButton( tr("Quit") , this );
- connect( server, SIGNAL(newConnect(ClientSocket*)),
- SLOT(newConnect(ClientSocket*)) );
- connect( quit, SIGNAL(clicked()), tqApp,
- SLOT(quit()) );
+ connect( server, TQ_SIGNAL(newConnect(ClientSocket*)),
+ TQ_SLOT(newConnect(ClientSocket*)) );
+ connect( quit, TQ_SIGNAL(clicked()), tqApp,
+ TQ_SLOT(quit()) );
}
~ServerInfo()
@@ -134,10 +134,10 @@ private slots:
void newConnect( ClientSocket *s )
{
infoText->append( tr("New connection\n") );
- connect( s, SIGNAL(logText(const TQString&)),
- infoText, SLOT(append(const TQString&)) );
- connect( s, SIGNAL(connectionClosed()),
- SLOT(connectionClosed()) );
+ connect( s, TQ_SIGNAL(logText(const TQString&)),
+ infoText, TQ_SLOT(append(const TQString&)) );
+ connect( s, TQ_SIGNAL(connectionClosed()),
+ TQ_SLOT(connectionClosed()) );
}
void connectionClosed()