1 #ifndef ASKPASSPHRASEDIALOG_H
2 #define ASKPASSPHRASEDIALOG_H
7 class AskPassphraseDialog;
12 /** Multifunctional dialog to ask for passphrases. Used for encryption, unlocking, and changing the passphrase.
14 class AskPassphraseDialog : public QDialog
20 Encrypt, /**< Ask passphrase twice and encrypt */
21 Unlock, /**< Ask passphrase and unlock */
22 ChangePass, /**< Ask old passphrase + new passphrase twice */
23 Decrypt /**< Ask passphrase and decrypt wallet */
26 explicit AskPassphraseDialog(Mode mode, QWidget *parent = 0);
27 ~AskPassphraseDialog();
31 void setModel(WalletModel *model);
34 Ui::AskPassphraseDialog *ui;
41 bool event(QEvent *event);
42 bool eventFilter(QObject *, QEvent *event);
45 #endif // ASKPASSPHRASEDIALOG_H