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