+ static void registerNotificationBackend(AbstractNotificationBackend *);
+ static void unregisterNotificationBackend(AbstractNotificationBackend *);
+ static void unregisterAllNotificationBackends();
+ static const QList<AbstractNotificationBackend *> ¬ificationBackends();
+ static uint invokeNotification(BufferId bufId, AbstractNotificationBackend::NotificationType type, const QString &sender, const QString &text);
+ static void closeNotification(uint notificationId);
+ static void closeNotifications(BufferId bufferId = BufferId());
+ static const QList<AbstractNotificationBackend::Notification> &activeNotifications();
+
+public slots:
+ virtual void init();
+
+protected slots:
+ void connectedToCore();
+ void disconnectedFromCore();
+ void notificationActivated(uint notificationId);
+
+private:
+ static QPointer<QtUi> _instance;
+ static QPointer<MainWin> _mainWin;
+ static QList<AbstractNotificationBackend *> _notificationBackends;
+ static QList<AbstractNotificationBackend::Notification> _notifications;