2021-12-28 14:43:25 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property var notificationsModule
|
|
|
|
|
2022-04-04 11:09:23 +00:00
|
|
|
property var exemptionsModel: notificationsModule.exemptionsModel
|
2021-12-28 14:43:25 +00:00
|
|
|
|
2024-08-22 18:48:04 +00:00
|
|
|
function loadExemptions() {
|
|
|
|
root.notificationsModule.loadExemptions()
|
|
|
|
}
|
|
|
|
|
2022-04-04 11:09:23 +00:00
|
|
|
function sendTestNotification(title, message) {
|
|
|
|
root.notificationsModule.sendTestNotification(title, message)
|
|
|
|
}
|
|
|
|
|
|
|
|
function saveExemptions(itemId, muteAllMessages, personalMentions, globalMentions, allMessages) {
|
|
|
|
root.notificationsModule.saveExemptions(itemId, muteAllMessages, personalMentions, globalMentions, allMessages)
|
2021-12-28 14:43:25 +00:00
|
|
|
}
|
|
|
|
}
|