diff ui/certificatelist.h @ 70:64c8c6350e60

Add default constructor to certificatelist. Remove Q_OBJECT use
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 19 Mar 2014 11:31:08 +0000
parents cbd57d767dfa
children 1dd8e91972a8
line wrap: on
line diff
--- a/ui/certificatelist.h	Wed Mar 19 11:30:16 2014 +0000
+++ b/ui/certificatelist.h	Wed Mar 19 11:31:08 2014 +0000
@@ -21,15 +21,22 @@
 #include "../common/listutil.h"
 #include "certificate.h"
 
-class CertificateList : public QObject
+class CertificateList
 {
-    Q_OBJECT
-
 public:
+    CertificateList();
     CertificateList(const char *fileName);
 
     list_status_t getStatus() {return mStatus;}
 
+    /** @brief Read a list
+     *
+     * @param[in] fileName the filename of the list to read
+     *
+     * @return status of the read. Vaild on success.
+     */
+    list_status_t readList(const char *fileName);
+
     /** @brief Returns true if the list is Valid 
      *
      *  A list is valid only if the signature matched and the

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