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::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::~PasswdDialog |
( |
| ) |
|
◆ error
◆ okClicked
void PasswdDialog::okClicked |
( |
| ) |
|
|
privateslot |
◆ showPasswordCheckBoxStateChanged
void PasswdDialog::showPasswordCheckBoxStateChanged |
( |
int |
aState | ) |
|
|
privateslot |
◆ iController
◆ iIsPwdQueryDialog
bool PasswdDialog::iIsPwdQueryDialog |
|
private |
◆ iPrompt
QString PasswdDialog::iPrompt |
|
private |
◆ ui
The documentation for this class was generated from the following file: