comparison ui/certificateitemdelegate.h @ 375:9e38a4bcd44e

Move certificateitem role into the certificateitemdelagate where it belongs.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Apr 2014 12:06:03 +0200
parents abac76b855b2
children 17e1c8f37d72
comparison
equal deleted inserted replaced
374:4836537f87da 375:9e38a4bcd44e
23 * @param index The model index of the item to draw. 23 * @param index The model index of the item to draw.
24 */ 24 */
25 void paint(QPainter *painter, const QStyleOptionViewItem &option, 25 void paint(QPainter *painter, const QStyleOptionViewItem &option,
26 const QModelIndex &index) const; 26 const QModelIndex &index) const;
27 27
28 /** @brief different roles for this tiem */
29 enum ItemRole {
30 DetailsRole = Qt::UserRole, /* The certificate details for the window */
31 StatusRole, /* Certificate status */
32 B64LineRole /* The I:/R: <cert> line */
33 };
34
28 private: 35 private:
29 36
30 /** 37 /**
31 * @brief Draw the item using the given parameters. 38 * @brief Draw the item using the given parameters.
32 * 39 *

http://wald.intevation.org/projects/trustbridge/