2021-12-28 15:43:25 +01:00
|
|
|
import QtQuick 2.13
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property var notificationsModule
|
|
|
|
|
2022-04-04 13:09:23 +02:00
|
|
|
property var exemptionsModel: notificationsModule.exemptionsModel
|
2021-12-28 15:43:25 +01:00
|
|
|
|
2024-08-22 14:48:04 -04:00
|
|
|
function loadExemptions() {
|
|
|
|
root.notificationsModule.loadExemptions()
|
|
|
|
}
|
|
|
|
|
2022-04-04 13:09:23 +02: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 15:43:25 +01:00
|
|
|
}
|
|
|
|
}
|