From b7530c1f5f0197da0af9bf17ca2ca483e98f4e31 Mon Sep 17 00:00:00 2001 From: Michael Haeckel Date: Sun, 24 Feb 2002 14:36:23 +0000 Subject: [PATCH] After too many people complaining we finally import the old POP3 and IMAP passwords. svn path=/trunk/kdenetwork/kmail/; revision=138385 --- kmaccount.cpp | 19 +++++++++++++++++++ kmaccount.h | 2 ++ kmacctexppop.cpp | 10 +++++++++- kmacctimap.cpp | 10 +++++++++- kmail.upd | 23 ----------------------- 5 files changed, 39 insertions(+), 25 deletions(-) diff --git a/kmaccount.cpp b/kmaccount.cpp index 14f44e040..c3cb55a62 100644 --- a/kmaccount.cpp +++ b/kmaccount.cpp @@ -316,3 +316,22 @@ QString KMAccount::encryptStr(const QString &aStr) QChar(0x1001F - aStr[i].unicode()); return result; } + +//----------------------------------------------------------------------------- +QString KMAccount::importPassword(const QString &aStr) +{ + unsigned int i, val; + unsigned int len = aStr.length(); + QCString result; + result.resize(len+1); + + for (i=0; i