#include </home/clem/local/src/opie/library/password.h>
Collaboration diagram for Password:

Public Member Functions | |
| Password (QWidget *, const char *, const char *) | |
| ~Password () | |
Static Public Member Functions | |
| static bool | needToAuthenticate (bool atpoweron=FALSE) |
| static void | authenticate (bool atpoweron=FALSE) |
| static QString | getPassword (const QString &prompt) |
Public Attributes | |
| QString | password |
Protected Slots | |
| void | accept () |
| void | slotTogglePassword (bool) |
Private Attributes | |
| QLineEdit * | pw |
Definition at line 29 of file password.h.
|
||||||||||||||||
|
Definition at line 57 of file password.cpp. References QString::null, password, pw, showhideimage_data, slotTogglePassword(), and TRUE. |
|
|
Definition at line 84 of file password.cpp. |
|
|
Definition at line 88 of file password.cpp. |
|
|
Prompt, fullscreen, for the user's passcode until they get it right. If at_poweron is TRUE, the dialog is only used if the user's preference request it at poweron; either way, the screen is always repainted by this function. (this functionality may move to the caller of this function). Definition at line 315 of file password.cpp. References Global::applicationFileName(), QFile::exists(), QString::isEmpty(), PasswdDlg::passw, qcrypt(), Config::readEntry(), Config::readNumEntry(), Contact::readVCard(), PasswdDlg::reset(), Config::setGroup(), PasswordDialog::text, and TRUE. |
|
|
Returns a crypted password entered by the user when prompted with prompt The returned value is QString::null if the user cancels the operation, or the empty string if the user enters no password (but confirms the dialog). Definition at line 269 of file password.cpp. References QString::isEmpty(), QString::null, PasswdDlg::passw, qcrypt(), PasswordDialog::setPrompt(), PasswordDialog::text, and TRUE. |
|
|
Return if a prompt for the user's passcode is needed. If at_poweron is TRUE, the dialog is only used if the user's preference request it at poweron Opie extension to speed up suspend/resume. Definition at line 297 of file password.cpp. References QString::isEmpty(), Config::readEntry(), Config::readNumEntry(), and Config::setGroup(). |
|
|
Definition at line 94 of file password.cpp. References Dasher::Opts::Normal, and pw. Referenced by Password(). |
|
|
Definition at line 45 of file password.h. Referenced by accept(), MainWindow::openBook(), Password(), and Checkbook::slotPasswordClicked(). |
|
|
Definition at line 48 of file password.h. Referenced by accept(), Password(), and slotTogglePassword(). |
1.4.2