Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
69:92f523997086 | 70:64c8c6350e60 |
---|---|
19 #include <QObject> | 19 #include <QObject> |
20 | 20 |
21 #include "../common/listutil.h" | 21 #include "../common/listutil.h" |
22 #include "certificate.h" | 22 #include "certificate.h" |
23 | 23 |
24 class CertificateList : public QObject | 24 class CertificateList |
25 { | 25 { |
26 Q_OBJECT | |
27 | |
28 public: | 26 public: |
27 CertificateList(); | |
29 CertificateList(const char *fileName); | 28 CertificateList(const char *fileName); |
30 | 29 |
31 list_status_t getStatus() {return mStatus;} | 30 list_status_t getStatus() {return mStatus;} |
31 | |
32 /** @brief Read a list | |
33 * | |
34 * @param[in] fileName the filename of the list to read | |
35 * | |
36 * @return status of the read. Vaild on success. | |
37 */ | |
38 list_status_t readList(const char *fileName); | |
32 | 39 |
33 /** @brief Returns true if the list is Valid | 40 /** @brief Returns true if the list is Valid |
34 * | 41 * |
35 * A list is valid only if the signature matched and the | 42 * A list is valid only if the signature matched and the |
36 * list could be parsed. | 43 * list could be parsed. |