class for querying a password from user.
More...
#include <passwd_dialog.h>
class for querying a password from user.
thanks to Jasmin Blanchette and Mark Summerfield who wrote the article at http://www.informit.com/articles/article.aspx?p=1405224 where this code here is more-or-less stolen from.
PasswdDialog::PasswdDialog |
( |
QWidget * |
aParent, |
|
|
MController & |
aController, |
|
|
const QString & |
aPrompt, |
|
|
bool |
aIsPwdQueryDialog = true |
|
) |
| |
Constructor.
- Parameters
-
aParent | is owner-window of this dialog |
aController | application controller reference |
aPrompt | text presented to user |
aIsPwdQueryDialog | if set to true, queries. If false this dialog will change the password |
PasswdDialog::~PasswdDialog |
( |
| ) |
|
void PasswdDialog::okClicked |
( |
| ) |
|
|
privateslot |
bool PasswdDialog::iIsPwdQueryDialog |
|
private |
QString PasswdDialog::iPrompt |
|
private |
Ui_PasswordDialog PasswdDialog::ui |
|
private |
The documentation for this class was generated from the following file: