#include <mythdialogs.h>

Needs the password to be passed in as an argument, because it does the checking locally, and sets a bool if the entered password matches it.
Definition at line 431 of file mythdialogs.h.
Public Slots | |
| void | checkPassword (const QString &) |
Public Member Functions | |
| MythPasswordDialog (QString message, bool *success, QString target, MythMainWindow *parent, const char *name=0, bool setsize=true) | |
Protected Member Functions | |
| ~MythPasswordDialog () | |
| void | keyPressEvent (QKeyEvent *e) |
Private Attributes | |
| MythLineEdit * | password_editor |
| QString | target_text |
| bool * | success_flag |
| MythPasswordDialog::MythPasswordDialog | ( | QString | message, | |
| bool * | success, | |||
| QString | target, | |||
| MythMainWindow * | parent, | |||
| const char * | name = 0, |
|||
| bool | setsize = true | |||
| ) |
| success | Pointer to storage for the result | |
| target | The password we are trying to match |
Definition at line 1670 of file mythdialogs.cpp.
| MythPasswordDialog::~MythPasswordDialog | ( | ) | [protected] |
Definition at line 1740 of file mythdialogs.cpp.
| void MythPasswordDialog::checkPassword | ( | const QString & | the_text | ) | [slot] |
| void MythPasswordDialog::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
MythLineEdit* MythPasswordDialog::password_editor [private] |
QString MythPasswordDialog::target_text [private] |
Definition at line 458 of file mythdialogs.h.
Referenced by checkPassword(), and MythPasswordDialog().
bool* MythPasswordDialog::success_flag [private] |
Definition at line 459 of file mythdialogs.h.
Referenced by checkPassword(), and MythPasswordDialog().
1.5.5