Changeset View
Changeset View
Standalone View
Standalone View
src/passworddialog.h
Show All 37 Lines | 35 | public: | |||
---|---|---|---|---|---|
38 | 38 | | |||
39 | void setUsername(const QByteArray &username); | 39 | void setUsername(const QByteArray &username); | ||
40 | QString password() const; | 40 | QString password() const; | ||
41 | private Q_SLOTS: | 41 | private Q_SLOTS: | ||
42 | void passwordChanged(); | 42 | void passwordChanged(); | ||
43 | void checkPassword(); | 43 | void checkPassword(); | ||
44 | 44 | | |||
45 | private: | 45 | private: | ||
46 | QString errorString(int error); | 46 | QString errorString(int error, void *auxerror); | ||
47 | QPalette m_negative; | 47 | QPalette m_negative; | ||
48 | QPalette m_neutral; | 48 | QPalette m_neutral; | ||
49 | QPalette m_positive; | 49 | QPalette m_positive; | ||
50 | QDialogButtonBox *buttons; | 50 | QDialogButtonBox *buttons; | ||
51 | 51 | | |||
52 | pwquality_settings_t *m_pwSettings; | 52 | pwquality_settings_t *m_pwSettings; | ||
53 | QByteArray m_username; | 53 | QByteArray m_username; | ||
54 | QTimer *m_timer; | 54 | QTimer *m_timer; | ||
55 | }; | 55 | }; | ||
56 | 56 | | |||
57 | #endif //PASSWORD_DIALOG_H | 57 | #endif //PASSWORD_DIALOG_H |