The result of
Qt Code:
  1. void Class::paintEvent(QPaintEvent* /* event */)
  2. {
  3. ...
  4. }
To copy to clipboard, switch view to plain text mode 
and
Qt Code:
  1. void Class::paintEvent(QPaintEvent* event)
  2. {
  3. Q_UNUSED(event);
  4. }
To copy to clipboard, switch view to plain text mode 
is the same; the compiler won't complain about an unused parameter. Although the latter is more readable, isn't it?