| 902 | } |
| 903 | |
| 904 | void paintCell( QPainter *p, const QColorGroup &cg, |
| 905 | int column, int width, int alignment ) |
| 906 | { |
| 907 | if ( isSelectable() ) { |
| 908 | QListViewItem::paintCell( p, cg, column, width, alignment ); |
| 909 | } else { |
| 910 | QColorGroup disabled( |
| 911 | cg.foreground().light(), |
| 912 | cg.button().light(), |
| 913 | cg.light(), cg.dark(), cg.mid(), |
| 914 | gray, cg.base() ); |
| 915 | QListViewItem::paintCell( p, disabled, column, width, alignment ); |
| 916 | } |
| 917 | } |
| 918 | }; |
| 919 | |
| 920 | class NhPSListViewRole : public NhPSListViewItem { |
nothing calls this directly
no outgoing calls
no test coverage detected