NotificationSettings notificationSettings;
_showBubble = notificationSettings.value("Systray/ShowBubble", true).toBool();
_animate = notificationSettings.value("Systray/Animate", true).toBool();
NotificationSettings notificationSettings;
_showBubble = notificationSettings.value("Systray/ShowBubble", true).toBool();
_animate = notificationSettings.value("Systray/Animate", true).toBool();
notificationSettings.notify("Systray/ShowBubble", this, SLOT(showBubbleChanged(const QVariant &)));
notificationSettings.notify("Systray/Animate", this, SLOT(animateChanged(const QVariant &)));
notificationSettings.notify("Systray/ShowBubble", this, SLOT(showBubbleChanged(const QVariant &)));
notificationSettings.notify("Systray/Animate", this, SLOT(animateChanged(const QVariant &)));
void SystrayNotificationBackend::notify(const Notification ¬ification) {
/* fancy stuff to be implemented later: show notifications in order
_notifications.append(notification);
void SystrayNotificationBackend::notify(const Notification ¬ification) {
/* fancy stuff to be implemented later: show notifications in order
_notifications.append(notification);
QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1);
#endif
}
QtUi::mainWindow()->systemTrayIcon()->showMessage("", "", QSystemTrayIcon::NoIcon, 1);
#endif
}