#ifndef PASSWORDGENERATORDIALOG_H #define PASSWORDGENERATORDIALOG_H #include #include #include namespace QtGui { namespace Ui { class PasswordGeneratorDialog; } class PasswordGeneratorDialog : public QDialog { Q_OBJECT public: explicit PasswordGeneratorDialog(QWidget *parent = 0); ~PasswordGeneratorDialog(); private Q_SLOTS: void generateNewPassword(); void handleCheckedCategoriesChanged(); void handlePasswordChanged(); void copyPassword(); private: Ui::PasswordGeneratorDialog *m_ui; std::vector m_charset; Util::OpenSslRandomDevice m_random; }; } #endif // PASSWORDGENERATORDIALOG_H