title: Clean way to eliminate "unused parameter 'widget'" warning generated by QGraphicsItem::paint
body: <p><code>QGraphicsItem::paint</code> has the following signature:</p>
  
  <pre><code>void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
  </code></pre>
  
  <p>When I create custom <code>QGraphicsItem</code>s, I have to provide an implementation for this function. The thing is... I never need to use the <code>option</code> and <code>widget</code> parameters, but I can't just remove them for obvious reasons. I always see these compiler warnings:</p>
  
  <blockquote>
    <p>warning: unused parameter ‘widget’</p>
    
    <p>warning: unused parameter ‘option’</p>
  </blockquote>
  
  <p>Is there a proper to get rid of these warnings? I know I can hide them by mentioning the unused parameters in the function, but this is a very dirty solution and I'd like to know if there are better options.</p>