- virtual void paint_label(QPainter &p, const QRect &rect,
- unsigned int prefix) = 0;
+ void paint_label(QPainter &p, const QRect &rect);
+
+ /**
+ * Paints the foreground layer of the item with a QPainter
+ * @param p the QPainter to paint into.
+ * @param pp the painting parameters object to paint with.
+ **/
+ void paint_fore(QPainter &p, const ViewItemPaintParams &pp);