summaryrefslogtreecommitdiffstats
path: root/examples/network/mail
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/mail
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/mail')
-rw-r--r--examples/network/mail/composer.cpp10
-rw-r--r--examples/network/mail/smtp.cpp12
2 files changed, 11 insertions, 11 deletions
diff --git a/examples/network/mail/composer.cpp b/examples/network/mail/composer.cpp
index cee25929a..51f690126 100644
--- a/examples/network/mail/composer.cpp
+++ b/examples/network/mail/composer.cpp
@@ -38,7 +38,7 @@ Composer::Composer( TQWidget *parent )
send = new TQPushButton( tr( "&Send" ), this );
layout->addWidget( send, 4, 0 );
- connect( send, SIGNAL( clicked() ), this, SLOT( sendMessage() ) );
+ connect( send, TQ_SIGNAL( clicked() ), this, TQ_SLOT( sendMessage() ) );
sendStatus = new TQLabel( this );
layout->addWidget( sendStatus, 4, 1 );
@@ -52,10 +52,10 @@ void Composer::sendMessage()
Smtp *smtp = new Smtp( from->text(), to->text(),
subject->text(),
message->text() );
- connect( smtp, SIGNAL(destroyed()),
- this, SLOT(enableSend()) );
- connect( smtp, SIGNAL(status(const TQString &)),
- sendStatus, SLOT(setText(const TQString &)) );
+ connect( smtp, TQ_SIGNAL(destroyed()),
+ this, TQ_SLOT(enableSend()) );
+ connect( smtp, TQ_SIGNAL(status(const TQString &)),
+ sendStatus, TQ_SLOT(setText(const TQString &)) );
}
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 +