Allow to build KNotifications without QtWidgets on Android
This is possible with just minor ifdefs when disabling already deprecated code. This matters on Android as for apps like Itinerary this is the only thing pulling in the multi-megabyte QtWidgets library into the final APK.