Fix compile warnings from moc and gcc.

blockitem.cpp doesn't have any QObject-derived classes, so doesn't need
to be preprocessed by the moc.

Deleting 'QStyle* widget_style' without QStyle being included made gcc sad.