mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-28 12:59:52 +00:00
Column length is increased to 100 as 80 is just too short Also add a git-blame-ignore-revs file which ignores the formatting revisions while git-blaming
29 lines
680 B
C++
29 lines
680 B
C++
#ifndef PASSWORDDIALOG_H
|
|
#define PASSWORDDIALOG_H
|
|
|
|
#include "masterdialog.h"
|
|
|
|
namespace Ui {
|
|
class PasswordDialog;
|
|
}
|
|
|
|
class PasswordDialog : public MasterDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit PasswordDialog(QWidget *parent = nullptr, const QString &labelText = QString(),
|
|
bool doubleEnterPassword = false);
|
|
~PasswordDialog();
|
|
QString password();
|
|
|
|
private slots:
|
|
bool checkIfPasswordsAreEqual();
|
|
void on_passwordLineEdit_textChanged(const QString &arg1);
|
|
void on_passwordLineEdit2_textChanged(const QString &arg1);
|
|
|
|
private:
|
|
Ui::PasswordDialog *ui;
|
|
bool _doubleEnterPassword;
|
|
};
|
|
|
|
#endif // PASSWORDDIALOG_H
|