diff ui/certificate.cpp @ 21:dc1e1e9e62ce

Add certificate class and use it
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 20 Feb 2014 10:58:28 +0000
parents
children 2f5db8c70bc2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/certificate.cpp	Thu Feb 20 10:58:28 2014 +0000
@@ -0,0 +1,9 @@
+#include "certificate.h"
+#include <QObject>
+
+QString Certificate::shortDescription() {
+    if (!isValid()) {
+        return QObject::tr("Invalid Certificate");
+    }
+    return mShortDescription;
+}

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