Discussion of using QMediaPlayer for alarm
It's fairly easy to use QMediaPlayer in alarm. However, several issues need to be discussed first. While QMediaPlayer implementation enables user to choose they preferred ringtone, we need to ship default ringtone with kclock. And user shouldn't mute the volume otherwise there will be no sound. In that case, better media control is needed, as in Android, different volume settings can be controlled individually. However, this is beyond the scope of kclock and should be implemented in plasma-shell instead.