diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 (patch) | |
tree | babc4a761925023e16fa94633959f35d1c251887 /kbugbuster/backend/mailsender.cpp | |
parent | 0813b39aed2cf4c84157a22c4c9594336d93d412 (diff) | |
download | tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.tar.gz tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbugbuster/backend/mailsender.cpp')
-rw-r--r-- | kbugbuster/backend/mailsender.cpp | 8 |
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; |