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

#include </tmp/quassel/src/qtui/indicatornotificationbackend.h>

Inheritance diagram for IndicatorNotificationBackend:
Collaboration diagram for IndicatorNotificationBackend:

Classes

class  ConfigWidget

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

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

Private Slots

void activateMainWidget ()
void enabledChanged (const QVariant &)
void indicatorDisplayed (QIndicate::Indicator *)

Private Attributes

bool _enabled
QIndicate::Server * _server
IndicatorHash _indicatorHash

Detailed Description

Definition at line 40 of file indicatornotificationbackend.h.

Member Enumeration Documentation

enum NotificationType
inherited
Enumerator:
Highlight 
PrivMsg 
HighlightFocused 
PrivMsgFocused 

Definition at line 36 of file abstractnotificationbackend.h.

Constructor & Destructor Documentation

Member Function Documentation

void close ( uint  notificationId)
virtual

Reimplemented from AbstractNotificationBackend.

Definition at line 123 of file indicatornotificationbackend.cpp.

References _indicatorHash.

SettingsPage * createConfigWidget ( ) const
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

Implements AbstractNotificationBackend.

Definition at line 167 of file indicatornotificationbackend.cpp.

void activateMainWidget ( )
privateslot

Definition at line 73 of file indicatornotificationbackend.cpp.

Referenced by IndicatorNotificationBackend().

void enabledChanged ( const QVariant &  v)
privateslot

Definition at line 146 of file indicatornotificationbackend.cpp.

References _enabled, _indicatorHash, and _server.

Referenced by IndicatorNotificationBackend().

void indicatorDisplayed ( QIndicate::Indicator *  _indicator)
privateslot

Member Data Documentation

bool _enabled
private
QIndicate::Server* _server
private

Definition at line 62 of file indicatornotificationbackend.h.

Referenced by enabledChanged(), and IndicatorNotificationBackend().

IndicatorHash _indicatorHash
private

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