# HG changeset patch # User Raimund Renkert # Date 1397142281 -7200 # Node ID d56f952ba81719501422fbbc785403b924786cd4 # Parent 67b471c4d1fcdd879a0db552c7a812d4636fe5d3 Added member variable for edit state of a certificate. diff -r 67b471c4d1fc -r d56f952ba817 ui/certificate.h --- 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,