QOwnNotes/src/dialogs/passworddialog.h
Waqar Ahmed 1cea8a186d Run Clang format script over the codebase
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
2023-01-26 17:01:10 +05:00

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