summaryrefslogtreecommitdiffstats
path: root/kmail/kmsender.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kmail/kmsender.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmsender.cpp')
-rw-r--r--kmail/kmsender.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/kmsender.cpp b/kmail/kmsender.cpp
index add46564..987e4928 100644
--- a/kmail/kmsender.cpp
+++ b/kmail/kmsender.cpp
@@ -404,7 +404,7 @@ void KMSender::doSendMsg()
if (mCurrentMsg->tqparent() && !imapSentFolder) {
// for speed optimization, this code assumes that mCurrentMsg is the
// last one in it's tqparent folder; make sure that's really the case:
- assert( mCurrentMsg->tqparent()->tqfind( mCurrentMsg )
+ assert( mCurrentMsg->tqparent()->find( mCurrentMsg )
== mCurrentMsg->tqparent()->count() - 1 );
// unGet this message:
mCurrentMsg->tqparent()->unGetMsg( mCurrentMsg->tqparent()->count() -1 );
@@ -710,7 +710,7 @@ void KMSender::slotIdle()
mFailedMessages++;
// reset cached password
TQMapIterator <TQString,TQString> pc;
- if ( (pc = mPasswdCache.tqfind( mMethodStr )) != mPasswdCache.end() ) {
+ if ( (pc = mPasswdCache.find( mMethodStr )) != mPasswdCache.end() ) {
mPasswdCache.erase(pc);
}
// Sending of message failed.
@@ -800,7 +800,7 @@ KMSendProc* KMSender::createSendProcFromString( const TQString & transport )
mTransportInfo->auth = false;
mTransportInfo->encryption = "NONE";
TQString serverport = transport.mid(7);
- int colon = serverport.tqfind(':');
+ int colon = serverport.find(':');
if (colon != -1) {
mTransportInfo->host = serverport.left(colon);
mTransportInfo->port = serverport.mid(colon + 1);
@@ -815,7 +815,7 @@ KMSendProc* KMSender::createSendProcFromString( const TQString & transport )
mTransportInfo->auth = false;
mTransportInfo->encryption = "ssl";
TQString serverport = transport.mid(7);
- int colon = serverport.tqfind(':');
+ int colon = serverport.find(':');
if (colon != -1) {
mTransportInfo->host = serverport.left(colon);
mTransportInfo->port = serverport.mid(colon + 1);
@@ -1019,7 +1019,7 @@ void KMSendSendmail::receivedStderr(KProcess *proc, char *buffer, int buflen)
{
assert(proc!=0);
Q_UNUSED( proc );
- mLastErrorMessage.tqreplace(mLastErrorMessage.length(), buflen, buffer);
+ mLastErrorMessage.replace(mLastErrorMessage.length(), buflen, buffer);
}
@@ -1082,7 +1082,7 @@ bool KMSendSMTP::doSend( const TQString & sender, const TQStringList & to, const
if (ti->auth)
{
- TQMapIterator<TQString,TQString> tpc = mSender->mPasswdCache.tqfind( ti->name );
+ TQMapIterator<TQString,TQString> tpc = mSender->mPasswdCache.find( ti->name );
TQString tpwd = ( tpc != mSender->mPasswdCache.end() )?(*tpc):TQString();
if ( ti->passwd().isEmpty() )