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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbugbuster/backend/mailsender.cpp b/kbugbuster/backend/mailsender.cpp
index 58ed6c93..2a5ae930 100644
--- a/kbugbuster/backend/mailsender.cpp
+++ b/kbugbuster/backend/mailsender.cpp
@@ -151,22 +151,22 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
void MailSender::smtpSuccess()
{
- if ( tqparent() != sender() || !tqparent()->inherits( "Smtp" ) )
+ if ( parent() != sender() || !parent()->inherits( "Smtp" ) )
return;
- static_cast<Smtp *>( tqparent() )->quit();
+ static_cast<Smtp *>( parent() )->quit();
emit finished();
}
void MailSender::smtpError(const TQString &_command, const TQString &_response)
{
- if ( tqparent() != sender() || !tqparent()->inherits( "Smtp" ) )
+ if ( parent() != sender() || !parent()->inherits( "Smtp" ) )
return;
TQString command = _command;
TQString response = _response;
- Smtp *smtp = static_cast<Smtp *>( tqparent() );
+ Smtp *smtp = static_cast<Smtp *>( parent() );
smtp->removeChild( this );
delete smtp;