summaryrefslogtreecommitdiffstats
path: root/examples/network/networkprotocol/nntp.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/network/networkprotocol/nntp.cpp
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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/network/networkprotocol/nntp.cpp')
-rw-r--r--examples/network/networkprotocol/nntp.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/network/networkprotocol/nntp.cpp b/examples/network/networkprotocol/nntp.cpp
index 1fe31dda4..833718ada 100644
--- a/examples/network/networkprotocol/nntp.cpp
+++ b/examples/network/networkprotocol/nntp.cpp
@@ -20,16 +20,16 @@ Nntp::Nntp()
{
// create the command socket and connect to its signals
commandSocket = new TQSocket( this );
- connect( commandSocket, SIGNAL( hostFound() ),
- this, SLOT( hostFound() ) );
- connect( commandSocket, SIGNAL( connected() ),
- this, SLOT( connected() ) );
- connect( commandSocket, SIGNAL( connectionClosed() ),
- this, SLOT( closed() ) );
- connect( commandSocket, SIGNAL( readyRead() ),
- this, SLOT( readyRead() ) );
- connect( commandSocket, SIGNAL( error( int ) ),
- this, SLOT( error( int ) ) );
+ connect( commandSocket, TQ_SIGNAL( hostFound() ),
+ this, TQ_SLOT( hostFound() ) );
+ connect( commandSocket, TQ_SIGNAL( connected() ),
+ this, TQ_SLOT( connected() ) );
+ connect( commandSocket, TQ_SIGNAL( connectionClosed() ),
+ this, TQ_SLOT( closed() ) );
+ connect( commandSocket, TQ_SIGNAL( readyRead() ),
+ this, TQ_SLOT( readyRead() ) );
+ connect( commandSocket, TQ_SIGNAL( error( int ) ),
+ this, TQ_SLOT( error( int ) ) );
}
Nntp::~Nntp()