Mercurial > trustbridge
comparison ui/certificatetablemodel.h @ 463:5200b8e9b2ae
Rename tablemodel certificates and add accessors
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 23 Apr 2014 15:33:09 +0000 |
parents | 17e1c8f37d72 |
children | 2a1aa9df8f11 |
comparison
equal
deleted
inserted
replaced
462:091ad56c2715 | 463:5200b8e9b2ae |
---|---|
36 QVariant headerData(int section, Qt::Orientation orientation, | 36 QVariant headerData(int section, Qt::Orientation orientation, |
37 int role = Qt::DisplayRole) const; | 37 int role = Qt::DisplayRole) const; |
38 | 38 |
39 Qt::ItemFlags flags(const QModelIndex &index) const; | 39 Qt::ItemFlags flags(const QModelIndex &index) const; |
40 | 40 |
41 const QList<Certificate>& certificates() {return mCertificates;} | |
42 | |
41 private: | 43 private: |
42 QList<Certificate> certificates; | 44 QList<Certificate> mCertificates; |
43 QList<QString> header; | 45 QList<QString> header; |
44 }; | 46 }; |
45 | 47 |
46 #endif | 48 #endif |