KWalletAccess Namespace Reference

Provides routines to save and read passwords using KWallet. More...


Functions

bool savePassword (const QString &account, const QString &password)
QString getPassword (const QString &account)


Detailed Description

Provides routines to save and read passwords using KWallet.

Author:
Ulrich Weigelt <ulrich.weigelt@gmx.de>

Function Documentation

QString KWalletAccess::getPassword ( const QString &  account  ) 

Returns the password of the given account.

Parameters:
account account name
Returns:
the password or QString::null, if the sought password is not stored in KWallet.

Definition at line 90 of file kwalletaccess.cpp.

bool KWalletAccess::savePassword ( const QString &  account,
const QString &  password 
)

Saves the given password into KWallet.

Parameters:
account account name
password the password
Returns:
TRUE - password successfully saved

FALSE - password could not be saved

Definition at line 21 of file kwalletaccess.cpp.


Generated on Tue May 18 19:43:53 2010 for KShowmail by  doxygen 1.5.6