diff options
author | Reimar Döffinger <brouwer@annejan.com> | 2015-04-04 12:49:46 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2015-04-11 21:08:45 +0200 |
commit | 68ca586712048a7daa40d5aa4705cc51ee34e333 (patch) | |
tree | d53179603d0a3e5fd56ebd1e7e456b82b1bcc39b /mainwindow.h | |
parent | d7233142cef390f75f17a77c5d554c20b4f42eb5 (diff) |
User edit dialog for modifying .gpg-id added.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mainwindow.h b/mainwindow.h index 66c05a8b..ccbd55a2 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -13,11 +13,13 @@ namespace Ui { class MainWindow; } +struct UserInfo; + class MainWindow : public QMainWindow { Q_OBJECT -enum actionType { GPG, GIT, EDIT, DELETE }; +enum actionType { GPG, GIT, EDIT, DELETE, GPG_INTERNAL }; public: explicit MainWindow(QWidget *parent = 0); @@ -43,6 +45,7 @@ private slots: void on_addButton_clicked(); void on_deleteButton_clicked(); void on_editButton_clicked(); + void on_usersButton_clicked(); void messageAvailable(QString message); private: @@ -78,6 +81,8 @@ private: void setPassword(QString, bool); void normalizePassStore(); QSettings &getSettings(); + QList<UserInfo> listKeys(QString keystring = ""); + QString getRecipientString(QString for_file, QString separator = " "); }; #endif // MAINWINDOW_H |