QOwnNotes/src/dialogs/passworddialog.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
680 B
C
Raw Normal View History

2016-01-19 16:56:35 +01:00
#ifndef PASSWORDDIALOG_H
#define PASSWORDDIALOG_H
#include "masterdialog.h"
2016-01-19 16:56:35 +01:00
namespace Ui {
class PasswordDialog;
}
class PasswordDialog : public MasterDialog {
2016-01-19 16:56:35 +01:00
Q_OBJECT
public:
explicit PasswordDialog(QWidget *parent = nullptr, const QString &labelText = QString(),
2016-01-23 12:15:56 +01:00
bool doubleEnterPassword = false);
2016-01-19 16:56:35 +01:00
~PasswordDialog();
QString password();
2016-01-23 12:15:56 +01:00
private slots:
bool checkIfPasswordsAreEqual();
void on_passwordLineEdit_textChanged(const QString &arg1);
void on_passwordLineEdit2_textChanged(const QString &arg1);
2016-01-19 16:56:35 +01:00
private:
Ui::PasswordDialog *ui;
2016-01-23 12:15:56 +01:00
bool _doubleEnterPassword;
2016-01-19 16:56:35 +01:00
};
#endif // PASSWORDDIALOG_H