X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtui.h;fp=src%2Fqtui%2Fqtui.h;h=437cc1530fa9734f9c98d766707e33e94144cdb0;hp=44c47411d02535afcf28ae456013fe441308a1e9;hb=7582ce11d6fb8b5123f7ac4794c57e981a634e93;hpb=3bbdde4a0caba93ffd15981374be6a840183fc8f diff --git a/src/qtui/qtui.h b/src/qtui/qtui.h index 44c47411..437cc153 100644 --- a/src/qtui/qtui.h +++ b/src/qtui/qtui.h @@ -56,18 +56,20 @@ public: static void unregisterNotificationBackend(AbstractNotificationBackend *); static void unregisterAllNotificationBackends(); static const QList ¬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 &activeNotifications(); public slots: virtual void init(); + uint invokeNotification(BufferId bufId, AbstractNotificationBackend::NotificationType type, const QString &sender, const QString &text); + void closeNotification(uint notificationId); + void closeNotifications(BufferId bufferId = BufferId()); + protected slots: void connectedToCore(); void disconnectedFromCore(); void notificationActivated(uint notificationId); + void bufferMarkedAsRead(BufferId); protected: virtual void minimizeRestore(bool show);