Notification backends now can emit a signal activated() that tells MainWin to raise...
[quassel.git] / src / uisupport / abstractnotificationbackend.h
index cc9941b..8e95c91 100644 (file)
@@ -48,12 +48,17 @@ public:
   virtual void notify(const Notification &) = 0;
   virtual void close(uint notificationId) { Q_UNUSED(notificationId); }
 
-  //! factory to create a configuration widget suitable for a specific notification backend
+  //! Factory to create a configuration widget suitable for a specific notification backend
   /**
-   * AbstractNotification will not take owner ship of that configWidget!
-   * in case you need to communicate with the configWidget directly, make your connections here
+   * AbstractNotification will not take ownership of that configWidget!
+   * In case you need to communicate with the configWidget directly, make your connections here
    */
   virtual SettingsPage *createConfigWidget() const = 0;
+
+signals:
+  //! May be emitted by the notification to tell the MainWin to raise itself
+  void activated();
+
 };
 
 #endif