X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtui.h;h=7ef22e0dc6fe36b1605796d6963003e043da6ecf;hp=5885210ae9328fd42c74798e393c2824817b3c28;hb=9ea27e456f4163c37118f6dc34188809fc37d6d9;hpb=371368423788eec9f5756dc4cebb01aeb93d0e7a diff --git a/src/qtui/qtui.h b/src/qtui/qtui.h index 5885210a..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();