aboutsummaryrefslogtreecommitdiffstats
path: root/keymgmt.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2009-01-04 01:16:03 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2009-01-04 01:16:03 +0000
commitfe320b01d7db8fb6d84855c0a032c9bcc3cda20a (patch)
tree4ca4903454e4446c9b6176cc68e845cd17fbea43 /keymgmt.h
parentadded missing files (diff)
downloadgpg4usb-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-xkeymgmt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/keymgmt.h b/keymgmt.h
index 02f96e1..bd91fb7 100755
--- a/keymgmt.h
+++ b/keymgmt.h
@@ -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__