changeset 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 67b471c4d1fc
children 9ba7b4b4c1de
files ui/certificate.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
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,

http://wald.intevation.org/projects/trustbridge/