Mercurial > trustbridge
comparison ui/certificateitemdelegate.h @ 445:b3721ded6f5b
Sort and filter the certificate list, changed certificate item roles.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 23 Apr 2014 11:53:57 +0200 |
parents | 2e5499fae159 |
children | ab622e094786 |
comparison
equal
deleted
inserted
replaced
443:20f539866fa8 | 445:b3721ded6f5b |
---|---|
34 QSize sizeHint(const QStyleOptionViewItem &option, | 34 QSize sizeHint(const QStyleOptionViewItem &option, |
35 const QModelIndex &index) const; | 35 const QModelIndex &index) const; |
36 | 36 |
37 /** @brief different roles for this tiem */ | 37 /** @brief different roles for this tiem */ |
38 enum ItemRole { | 38 enum ItemRole { |
39 DetailsRole = Qt::UserRole, /* The certificate details for the window */ | 39 DataRole = Qt::UserRole, /* The certificate details for the window */ |
40 StatusRole, /* Certificate status */ | 40 StatusRole, /* Certificate status */ |
41 B64LineRole /* The I:/R: <cert> line */ | |
42 }; | 41 }; |
43 | 42 |
44 private: | 43 private: |
45 | 44 |
46 /** | 45 /** |