Changeset View
Changeset View
Standalone View
Standalone View
src/passworddialog.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | public: | ||||
void templateAll(bool templateAll); | void templateAll(bool templateAll); | ||||
void setLength(int l); | void setLength(int l); | ||||
void setPasswordCharTemplate(int t); | void setPasswordCharTemplate(int t); | ||||
public Q_SLOTS: | public Q_SLOTS: | ||||
void setPass(const QString &output); | void setPass(const QString &output); | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void showPasswordChanged(int arg1); | |||||
void createPassword(); | void createPassword(); | ||||
void dialogAccepted(); | void dialogAccepted(); | ||||
void dialogCancelled(); | void dialogCancelled(); | ||||
void togglePasswordGenerationOption(bool checked); | |||||
private: | private: | ||||
std::unique_ptr<Ui::PasswordDialog> ui; | std::unique_ptr<Ui::PasswordDialog> ui; | ||||
Pass &m_pass; | Pass &m_pass; | ||||
PasswordConfiguration m_passConfig; | PasswordConfiguration m_passConfig; | ||||
QStringList m_fields; | QStringList m_fields; | ||||
QString m_file; | QString m_file; | ||||
bool m_templating; | bool m_templating; | ||||
bool m_allFields; | bool m_allFields; | ||||
bool m_isNew; | bool m_isNew; | ||||
QList<QLineEdit *> templateLines; | QList<QLineEdit *> templateLines; | ||||
QList<QLineEdit *> otherLines; | QList<QLineEdit *> otherLines; | ||||
}; | }; | ||||
#endif // PASSWORDDIALOG_H_ | #endif // PASSWORDDIALOG_H_ |