17 StatusProvider::StatusProvider() :
36 for(
auto ®istred : m_callbacks) {
43 m_callbacks.push_back(callback);
52 m_notifications.push_back(notification);
53 m_worstNotificationType |= notification.
type();
63 m_notifications.emplace_back(type, message, context);
64 m_worstNotificationType |= type;
77 m_notifications.insert(m_notifications.end(), from.m_notifications.cbegin(), from.m_notifications.cend());
93 for(
const auto ¬ification : from.m_notifications) {
94 addNotification(notification.type(), notification.message(), higherContext +
", " + notification.context());
103 m_notifications.insert(m_notifications.end(), notifications.cbegin(), notifications.cend());