I don’t think this stuff is handled anywhere in qml, apart from setting/clearing the dconf key which indicates dnd is enabled (/lipstick/do_not_disturb
).
It must be handled by something like mce, or profiled, or whatever dsme does.
Most likely profiled
. There is a tool called profileclient
which apparently allows to set most of the things you mention.
Maybe play around with that.