summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/mailsender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/mailsender.cpp')
-rw-r--r--kbugbuster/backend/mailsender.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kbugbuster/backend/mailsender.cpp b/kbugbuster/backend/mailsender.cpp
index 2d05d759..00d2d0f8 100644
--- a/kbugbuster/backend/mailsender.cpp
+++ b/kbugbuster/backend/mailsender.cpp
@@ -78,7 +78,7 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
if (!fd)
{
kdError() << "Unable to open a pipe to " << command << endl;
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
return false;
}
@@ -103,13 +103,13 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
if (!kapp->dcopClient()->isApplicationRegistered("kmail")) {
KMessageBox::error(0,i18n("No running instance of KMail found."));
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
return false;
}
emit status( i18n( "Passing mail to TDE email program..." ) );
if (!kMailOpenComposer(to,"", (bcc ? from : ""), subject,body,0,KURL())) {
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
return false;
}
} else if ( m_client == Direct ) {
@@ -128,12 +128,12 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
TQString::fromLatin1( "\n\n" ) + body;
Smtp *smtp = new Smtp( fromEmail, recipients, message, m_smtpServer );
- connect( smtp, TQT_SIGNAL( status( const TQString & ) ),
- this, TQT_SIGNAL( status( const TQString & ) ) );
- connect( smtp, TQT_SIGNAL( success() ),
- this, TQT_SLOT( smtpSuccess() ) );
- connect( smtp, TQT_SIGNAL( error( const TQString &, const TQString & ) ),
- this, TQT_SLOT( smtpError( const TQString &, const TQString & ) ) );
+ connect( smtp, TQ_SIGNAL( status( const TQString & ) ),
+ this, TQ_SIGNAL( status( const TQString & ) ) );
+ connect( smtp, TQ_SIGNAL( success() ),
+ this, TQ_SLOT( smtpSuccess() ) );
+ connect( smtp, TQ_SIGNAL( error( const TQString &, const TQString & ) ),
+ this, TQ_SLOT( smtpError( const TQString &, const TQString & ) ) );
smtp->insertChild( this ); // die when smtp dies
} else {
@@ -143,7 +143,7 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
if (m_client != Direct)
{
emit finished();
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
}
return true;
@@ -176,7 +176,7 @@ void MailSender::smtpError(const TQString &_command, const TQString &_response)
"response: %2" ).arg( command ).arg( response ) );
emit finished();
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteLater() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteLater() ) );
}
int MailSender::kMailOpenComposer(const TQString& arg0,const TQString& arg1,