refs #8381. Fix windows error.

QObject defines no signals or slots, so its wrong to moc it.