summaryrefslogtreecommitdiffstats
path: root/examples/network/mail
diff options
context:
space:
mode:
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 +