aboutsummaryrefslogtreecommitdiffstats
path: root/keymgmt.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-10-14 13:29:58 +0200
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-10-14 13:29:58 +0200
commit30462db48d38965883433f7258578c3bd5e12f4b (patch)
tree14170a5e295943e49ac100c05cc659e4d231321a /keymgmt.h
parentdeleted unnecessary mkeylist->refresh statements (diff)
downloadgpg4usb-30462db48d38965883433f7258578c3bd5e12f4b.tar.gz
gpg4usb-30462db48d38965883433f7258578c3bd5e12f4b.zip
added key generation to keymanagement
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@189 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keymgmt.h')
-rwxr-xr-xkeymgmt.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/keymgmt.h b/keymgmt.h
index db9fe8f..5929d82 100755
--- a/keymgmt.h
+++ b/keymgmt.h
@@ -31,7 +31,6 @@ class QString;
class QFileDialog;
class QStringList;
class QIcon;
-class QMessageBox;
class QAction;
class QMenu;
class QApplication;
@@ -53,18 +52,24 @@ public slots:
void exportKeyToClipboard();
void deleteCheckedKeys();
void deleteSelectedKeys();
+
+private slots:
+ void keyGenAccept();
+ void generateKeyDialog();
private:
void createMenus();
void createActions();
void createToolBars();
+ // int checkPassWordStrength(QString password);
KeyList *mKeyList;
QString mIconPath;
GpgME::Context *mCtx;
QMenu *fileMenu;
QMenu *keyMenu;
+ QDialog *genkeyDialog;
QAction *importKeyFromFileAct;
QAction *importKeyFromEditAct;
QAction *importKeyFromClipboardAct;
@@ -72,7 +77,26 @@ private:
QAction *exportKeyToClipboardAct;
QAction *deleteCheckedKeysAct;
QAction *deleteSelectedKeysAct;
+ QAction *generateKeyDialogAct;
QAction *closeAct;
+
+
+ /**
+ * Variables For Key-Generation
+ */
+ QLabel *nameLabel;
+ QLabel *emailLabel;
+ QLabel *commentLabel;
+ QLabel *keySizeLabel;
+ QLabel *passwordLabel;
+ QLabel *repeatpwLabel;
+ QLabel *errorLabel;
+ QLineEdit *nameEdit;
+ QLineEdit *emailEdit;
+ QLineEdit *commentEdit;
+ QLineEdit *passwordEdit;
+ QLineEdit *repeatpwEdit;
+ QSpinBox *keySizeSpinBox;
};
#endif // __KEYMGMT_H__