diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-11-13 13:19:52 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-11-13 14:12:44 +0100 |
commit | af836ad58808a1f6437a8b9a76b670c07c9a1212 (patch) | |
tree | dbc63d61b6404cbdb1f1bd45b58efe794621ab4a /src/qt/askpassphrasedialog.h | |
parent | 66112ed6e69d304eb9be5721f8d9b76375930c52 (diff) |
Improve documentation for UI classes
Diffstat (limited to 'src/qt/askpassphrasedialog.h')
-rw-r--r-- | src/qt/askpassphrasedialog.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/qt/askpassphrasedialog.h b/src/qt/askpassphrasedialog.h index 761612cbfd..32a3f6a5f3 100644 --- a/src/qt/askpassphrasedialog.h +++ b/src/qt/askpassphrasedialog.h @@ -9,16 +9,18 @@ namespace Ui { class WalletModel; +/** Multifunctional dialog to ask for passphrases. Used for encryption, unlocking, and changing the passphrase. + */ class AskPassphraseDialog : public QDialog { Q_OBJECT public: enum Mode { - Encrypt, // Ask passphrase x2 - Unlock, // Ask passphrase - ChangePass, // Ask old passphrase + new passphrase x2 - Decrypt // Ask passphrase + Encrypt, /**< Ask passphrase twice and encrypt */ + Unlock, /**< Ask passphrase and unlock */ + ChangePass, /**< Ask old passphrase + new passphrase twice */ + Decrypt /**< Ask passphrase and decrypt wallet */ }; explicit AskPassphraseDialog(Mode mode, QWidget *parent = 0); |