2021-10-06 10:23:01 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
2022-10-01 12:07:14 +00:00
|
|
|
property var activityCenterModuleInst: activityCenterModule
|
|
|
|
property var activityCenterList: activityCenterModuleInst.activityNotificationsModel
|
2022-08-09 15:08:39 +00:00
|
|
|
property int unreadNotificationsCount: activityCenterList.unreadCount
|
2022-10-01 12:07:14 +00:00
|
|
|
|
2021-11-15 10:17:41 +00:00
|
|
|
property var nodeModelInst: nodeModel
|
2021-12-13 14:24:21 +00:00
|
|
|
// property var profileModelInst: profileModel
|
2021-10-06 10:23:01 +00:00
|
|
|
|
|
|
|
function getMailserverName(activeMailServer) {
|
2021-12-13 14:24:21 +00:00
|
|
|
// Not Refactored Yet
|
|
|
|
return ""
|
|
|
|
// return profileModelInst.mailservers.list.getMailserverName(activeMailServer)
|
2021-10-06 10:23:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function onSend(text) {
|
2021-11-15 10:17:41 +00:00
|
|
|
nodeModelInst.onSend(text)
|
2021-10-06 10:23:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|