As Q_OS_WIN doesn't work with qt4 moc, always define the slots.