2020-10-07 10:36:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Copyright (c) 2020, The Monero Project.
|
|
|
|
|
|
|
|
#ifndef FEATHER_PASSWORDCHANGEDIALOG_H
|
|
|
|
#define FEATHER_PASSWORDCHANGEDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2020-11-14 09:57:06 +00:00
|
|
|
#include "libwalletqt/Wallet.h"
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class PasswordChangeDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class PasswordChangeDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2020-11-14 09:57:06 +00:00
|
|
|
explicit PasswordChangeDialog(QWidget *parent, Wallet *wallet);
|
2020-10-07 10:36:04 +00:00
|
|
|
~PasswordChangeDialog() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::PasswordChangeDialog *ui;
|
2020-11-14 09:57:06 +00:00
|
|
|
Wallet *m_wallet;
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
void passwordsMatch();
|
2020-11-14 09:57:06 +00:00
|
|
|
void setPassword();
|
2020-10-07 10:36:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //FEATHER_PASSWORDCHANGEDIALOG_H
|