Mercurial > trustbridge
diff ui/certificate.h @ 357:d56f952ba817
Added member variable for edit state of a certificate.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 10 Apr 2014 17:04:41 +0200 |
parents | 5f1494fab517 |
children | 4836537f87da |
line wrap: on
line diff
--- a/ui/certificate.h Thu Apr 10 16:23:29 2014 +0200 +++ b/ui/certificate.h Thu Apr 10 17:04:41 2014 +0200 @@ -82,6 +82,12 @@ **/ void setInstallCert(bool install); + /** @brief Check if this certificate is editable. */ + bool isEditable() const {return mEditable;} + + /** @brief Set the edit state for this certificate. */ + void setEditable(bool edit) {mEditable = edit;} + /** @brief get the subject OU from the certificate */ QString subjectOU() const {return mSubjectOU;} @@ -118,6 +124,7 @@ bool mValid; bool mInstCert; + bool mEditable; QString mSubjectOU, mSubjectCN,