X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtui.h;h=7ef22e0dc6fe36b1605796d6963003e043da6ecf;hp=1e2144c2eeef69fc92f2c46cce7ad7f52daf9db6;hb=9ea27e456f4163c37118f6dc34188809fc37d6d9;hpb=ab16c77fe03b73a863d9b52b11919bcbac903f58 diff --git a/src/qtui/qtui.h b/src/qtui/qtui.h index 1e2144c2..7ef22e0d 100644 --- a/src/qtui/qtui.h +++ b/src/qtui/qtui.h @@ -49,14 +49,13 @@ public: inline static QtUiStyle *style(); inline static MainWin *mainWindow(); - /* Notifications */ static void registerNotificationBackend(AbstractNotificationBackend *); static void unregisterNotificationBackend(AbstractNotificationBackend *); static void unregisterAllNotificationBackends(); static const QList ¬ificationBackends(); - static uint invokeNotification(BufferId bufId, const QString &sender, const QString &text); + 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 &activeNotifications(); @@ -67,7 +66,7 @@ public slots: protected slots: void connectedToCore(); void disconnectedFromCore(); - void notificationActivated(); + void notificationActivated(uint notificationId); private: static QPointer _instance;