Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
AbstractNotificationBackend Class Reference

#include </tmp/quassel/src/uisupport/abstractnotificationbackend.h>

Inheritance diagram for AbstractNotificationBackend:

Classes

struct  Notification

Public Types

enum  NotificationType { Highlight = 0x01, PrivMsg = 0x02, HighlightFocused = 0x11, PrivMsgFocused = 0x12 }

Signals

void activated (uint notificationId=0)
 May be emitted by the notification to tell the MainWin to raise itself.

Public Member Functions

 AbstractNotificationBackend (QObject *parent)
virtual ~AbstractNotificationBackend ()
virtual void notify (const Notification &)=0
virtual void close (uint notificationId)
virtual SettingsPagecreateConfigWidget () const =0
 Factory to create a configuration widget suitable for a specific notification backend.

Detailed Description

Definition at line 31 of file abstractnotificationbackend.h.

Member Enumeration Documentation

Enumerator:
Highlight 
PrivMsg 
HighlightFocused 
PrivMsgFocused 

Definition at line 36 of file abstractnotificationbackend.h.

Constructor & Destructor Documentation

AbstractNotificationBackend ( QObject *  parent)
inline

Definition at line 54 of file abstractnotificationbackend.h.

virtual ~AbstractNotificationBackend ( )
inlinevirtual

Definition at line 55 of file abstractnotificationbackend.h.

Member Function Documentation

virtual SettingsPage* createConfigWidget ( ) const
pure virtual

Factory to create a configuration widget suitable for a specific notification backend.

AbstractNotification will not take ownership of that configWidget! In case you need to communicate with the configWidget directly, make your connections here

Implemented in IndicatorNotificationBackend, SnoreNotificationBackend, DockManagerNotificationBackend, KNotificationBackend, PhononNotificationBackend, TaskbarNotificationBackend, SystrayNotificationBackend, and OSXNotificationBackend.

Referenced by NotificationsSettingsPage::NotificationsSettingsPage().


The documentation for this class was generated from the following file: