diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2009-01-04 01:16:03 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2009-01-04 01:16:03 +0000 |
commit | fe320b01d7db8fb6d84855c0a032c9bcc3cda20a (patch) | |
tree | 4ca4903454e4446c9b6176cc68e845cd17fbea43 /keymgmt.h | |
parent | added missing files (diff) | |
download | gpg4usb-fe320b01d7db8fb6d84855c0a032c9bcc3cda20a.tar.gz gpg4usb-fe320b01d7db8fb6d84855c0a032c9bcc3cda20a.zip |
added pwstrength-check to key generation
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@206 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keymgmt.h')
-rwxr-xr-x | keymgmt.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -34,6 +34,7 @@ class QIcon; class QAction; class QMenu; class QApplication; +class QSlider; #include "context.h" #include "keylist.h" @@ -54,6 +55,7 @@ public slots: void deleteSelectedKeys(); void generateKeyDialog(); void expireBoxChanged(); + void passwordEditChanged(); private slots: void keyGenAccept(); @@ -63,7 +65,7 @@ private: void createMenus(); void createActions(); void createToolBars(); - // int checkPassWordStrength(QString password); + int checkPassWordStrength(); KeyList *mKeyList; QString mIconPath; @@ -94,6 +96,7 @@ private: QLabel *errorLabel; QLabel *dateLabel; QLabel *expireLabel; + QLabel *pwStrengthLabel; QLineEdit *nameEdit; QLineEdit *emailEdit; QLineEdit *commentEdit; @@ -102,6 +105,7 @@ private: QSpinBox *keySizeSpinBox; QDateTimeEdit *dateEdit; QCheckBox *expireCheckBox; + QSlider *pwStrengthSlider; }; #endif // __KEYMGMT_H__ |