KDE FDO "inhibitions" extension
I found out just now that some applications check an "Inhibitions" setting in dbus to determine whether or not to send notifications -- see the link for a short description. Apparently this is an extension to the freedesktop.org standard, introduced by KDE.
It would be helpful if setting "do not disturb" mode on and off would toggle this setting, so that such applications can respond appropriately.