#include <SyncEvolutionConfig.h>
Public Member Functions | |
PasswordConfigProperty (const string &name, const string &comment, const string &def=string("")) | |
virtual void | checkPassword (ConfigNode &node, ConfigUserInterface &ui, const string &descr, string &cachedPassword) |
virtual string | getCachedProperty (ConfigNode &node, const string &cachedPassword) |
Definition at line 342 of file SyncEvolutionConfig.h.
PasswordConfigProperty::PasswordConfigProperty | ( | const string & | name, | |
const string & | comment, | |||
const string & | def = string("") | |||
) | [inline] |
Definition at line 344 of file SyncEvolutionConfig.h.
void PasswordConfigProperty::checkPassword | ( | ConfigNode & | node, | |
ConfigUserInterface & | ui, | |||
const string & | descr, | |||
string & | cachedPassword | |||
) | [virtual] |
Check the password and cache the result.
Definition at line 403 of file SyncEvolutionConfig.cpp.
References ConfigUserInterface::askPassword(), ConfigProperty::getProperty(), and EvolutionSyncClient::throwError().
Referenced by EvolutionSyncSourceConfig::checkPassword(), EvolutionSyncConfig::checkPassword(), and EvolutionSyncConfig::checkProxyPassword().
string PasswordConfigProperty::getCachedProperty | ( | ConfigNode & | node, | |
const string & | cachedPassword | |||
) | [virtual] |
return the cached value if necessary and possible
Definition at line 429 of file SyncEvolutionConfig.cpp.
References ConfigProperty::getProperty().
Referenced by EvolutionSyncSourceConfig::getPassword(), EvolutionSyncConfig::getPassword(), and EvolutionSyncConfig::getProxyPassword().