From ecca365daf06c711cf30f93f4c773dabf5642790 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 (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611) --- examples/network/mail/smtp.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/network/mail/smtp.cpp') diff --git a/examples/network/mail/smtp.cpp b/examples/network/mail/smtp.cpp index 3a288fc0d..e9a34b281 100644 --- a/examples/network/mail/smtp.cpp +++ b/examples/network/mail/smtp.cpp @@ -23,14 +23,14 @@ Smtp::Smtp( const TQString &from, const TQString &to, const TQString &body ) { socket = new TQSocket( this ); - connect ( socket, SIGNAL( readyRead() ), - this, SLOT( readyRead() ) ); - connect ( socket, SIGNAL( connected() ), - this, SLOT( connected() ) ); + connect ( socket, TQ_SIGNAL( readyRead() ), + this, TQ_SLOT( readyRead() ) ); + connect ( socket, TQ_SIGNAL( connected() ), + this, TQ_SLOT( connected() ) ); mxLookup = new TQDns( to.mid( to.find( '@' )+1 ), TQDns::Mx ); - connect( mxLookup, SIGNAL(resultsReady()), - this, SLOT(dnsLookupHelper()) ); + connect( mxLookup, TQ_SIGNAL(resultsReady()), + this, TQ_SLOT(dnsLookupHelper()) ); message = TQString::fromLatin1( "From: " ) + from + TQString::fromLatin1( "\nTo: " ) + to + -- cgit v1.2.3