+ MessageModel *createMessageModel(QObject *parent);
+ AbstractMessageProcessor *createMessageProcessor(QObject *parent);
+
+ inline static QtUi *instance();
+ inline static QtUiStyle *style();
+ inline static MainWin *mainWindow();
+
+ static bool haveSystemTray();
+
+ /* Notifications */
+
+ static void registerNotificationBackend(AbstractNotificationBackend *);
+ static void unregisterNotificationBackend(AbstractNotificationBackend *);
+ static void unregisterAllNotificationBackends();
+ static const QList<AbstractNotificationBackend *> ¬ificationBackends();
+ static const QList<AbstractNotificationBackend::Notification> &activeNotifications();
+
+public slots:
+ virtual void init();