summaryrefslogtreecommitdiffstats
path: root/usersdialog.h
diff options
context:
space:
mode:
authorReimar Döffinger <brouwer@annejan.com>2015-05-09 20:15:15 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2015-05-09 20:16:40 +0200
commit20d3ffdd06757bd297e3ce390ef9c425ed0a445e (patch)
tree92b81ddc1a585f671900bf08fddc0af5fddbe825 /usersdialog.h
parent19df23ce24f3beb0abac3f91344fe0d247b1ae84 (diff)
Provide more information in user list.
Mark keys that are not valid and keys that have a secret key available specially. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'usersdialog.h')
-rw-r--r--usersdialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usersdialog.h b/usersdialog.h
index c8a6970b..b9bf5e60 100644
--- a/usersdialog.h
+++ b/usersdialog.h
@@ -13,9 +13,11 @@ class UsersDialog;
class QListWidgetItem;
struct UserInfo {
- UserInfo() : enabled(false) {}
+ UserInfo() : validity('-'), have_secret(false), enabled(false) {}
QString name;
QString key_id;
+ char validity;
+ bool have_secret;
bool enabled;
};