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

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

Inheritance diagram for OSXNotificationBackend:
Collaboration diagram for OSXNotificationBackend:

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

 OSXNotificationBackend (QObject *parent=0)
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 enabledChanged (const QVariant &value)

Private Attributes

bool _enabled

Detailed Description

Definition at line 27 of file osxnotificationbackend.h.

Member Enumeration Documentation

enum NotificationType
inherited
Enumerator:
Highlight 
PrivMsg 
HighlightFocused 
PrivMsgFocused 

Definition at line 36 of file abstractnotificationbackend.h.

Constructor & Destructor Documentation

OSXNotificationBackend ( QObject *  parent = 0)

Definition at line 47 of file osxnotificationbackend.mm.

References enabledChanged(), and Settings::initAndNotify().

Member Function Documentation

void notify ( const Notification notification)
virtual

Implements AbstractNotificationBackend.

Definition at line 60 of file osxnotificationbackend.mm.

References _enabled.

void close ( uint  notificationId)
virtual

Reimplemented from AbstractNotificationBackend.

Definition at line 76 of file osxnotificationbackend.mm.

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 80 of file osxnotificationbackend.mm.

void enabledChanged ( const QVariant &  value)
privateslot

Definition at line 55 of file osxnotificationbackend.mm.

References _enabled.

Referenced by OSXNotificationBackend().

Member Data Documentation


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