Mercurial > trustbridge
diff ui/certificateitemdelegate.h @ 377:e3f825a7257e
merged.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 12:34:04 +0200 |
parents | 9e38a4bcd44e |
children | 17e1c8f37d72 |
line wrap: on
line diff
--- a/ui/certificateitemdelegate.h Tue Apr 15 12:32:34 2014 +0200 +++ b/ui/certificateitemdelegate.h Tue Apr 15 12:34:04 2014 +0200 @@ -25,6 +25,13 @@ void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; + /** @brief different roles for this tiem */ + enum ItemRole { + DetailsRole = Qt::UserRole, /* The certificate details for the window */ + StatusRole, /* Certificate status */ + B64LineRole /* The I:/R: <cert> line */ + }; + private: /**