- //! Access the global ActionCollection.
- /** This ActionCollection is associated with the main window, i.e. it contains global
- * actions (and thus, shortcuts). Widgets providing application-wide shortcuts should
- * create appropriate Action objects using QtUi::actionCollection()->add\<Action\>().
- */
- inline static ActionCollection *actionCollection();
+ /* Notifications */
+
+ static void registerNotificationBackend(AbstractNotificationBackend *);
+ static void unregisterNotificationBackend(AbstractNotificationBackend *);
+ static void unregisterAllNotificationBackends();
+ static const QList<AbstractNotificationBackend *> ¬ificationBackends();
+ static const QList<AbstractNotificationBackend::Notification> &activeNotifications();