diff options
| author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2008-10-14 13:29:58 +0200 |
|---|---|---|
| committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2008-10-14 13:29:58 +0200 |
| commit | 30462db48d38965883433f7258578c3bd5e12f4b (patch) | |
| tree | 14170a5e295943e49ac100c05cc659e4d231321a /keymgmt.h | |
| parent | deleted unnecessary mkeylist->refresh statements (diff) | |
| download | gpg4usb-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-x | keymgmt.h | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -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__ |
