PAM password dialog. More...
#include <pampassworddialog.h>
Public Member Functions | |
PAMPasswordDialog (const QString &in, QString &out, bool &result, QWidget *parent=0) | |
Constructor. | |
virtual | ~PAMPasswordDialog () |
Destructor. | |
Private Slots | |
void | processUserInput () |
Process user input. | |
void | abort () |
Abort. | |
Private Attributes | |
QString * | out |
Handles user input. | |
bool * | result |
Variable to check if user pressed cancel. |
PAM password dialog.
This class represents the PAM password dialog.
PAMPasswordDialog::PAMPasswordDialog | ( | const QString & | in, | |
QString & | out, | |||
bool & | result, | |||
QWidget * | parent = 0 | |||
) |
Constructor.
in | PAM messages. | |
out | Answers to PAM messages. | |
result | Overgiven to check if user canceled the operation. | |
parent | Parent object. |
virtual PAMPasswordDialog::~PAMPasswordDialog | ( | ) | [inline, virtual] |
Destructor.
void PAMPasswordDialog::abort | ( | ) | [private, slot] |
Abort.
This function sets result to false. After that the dialog will be closed.
void PAMPasswordDialog::processUserInput | ( | ) | [private, slot] |
QString* PAMPasswordDialog::out [private] |
Handles user input.
bool* PAMPasswordDialog::result [private] |
Variable to check if user pressed cancel.