Mercurial > trustbridge
comparison ui/certificatelist.h @ 9:2ad9a96518e3
Actually parse all elements in the list
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 12 Feb 2014 18:45:13 +0000 |
parents | 992c0ec57660 |
children | fe39d93f1261 |
comparison
equal
deleted
inserted
replaced
8:c7da699f0310 | 9:2ad9a96518e3 |
---|---|
16 */ | 16 */ |
17 | 17 |
18 class QByteArray; | 18 class QByteArray; |
19 | 19 |
20 #include <QString> | 20 #include <QString> |
21 #include <QDate> | 21 #include <QDateTime> |
22 #include <QObject> | 22 #include <QObject> |
23 | 23 |
24 #include "listutil.h" | 24 #include "listutil.h" |
25 | 25 |
26 class CertificateList : public QObject | 26 class CertificateList : public QObject |
33 list_status_t getStatus() {return mStatus;} | 33 list_status_t getStatus() {return mStatus;} |
34 bool isValid() {return mStatus == Valid;} | 34 bool isValid() {return mStatus == Valid;} |
35 | 35 |
36 private: | 36 private: |
37 QString mFileName; | 37 QString mFileName; |
38 QByteArray mFileContent; | 38 QList<QByteArray> mCertificatesInstall; |
39 QList<QByteArray> mCertificatesRemove; | |
39 list_status_t mStatus; | 40 list_status_t mStatus; |
40 QDate mDate; | 41 QDateTime mDate; |
41 }; | 42 }; |
42 #endif | 43 #endif |