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

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

Inheritance diagram for TaskbarNotificationBackend:
Collaboration diagram for TaskbarNotificationBackend:

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

 TaskbarNotificationBackend (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 &)
void timeoutChanged (const QVariant &)

Private Attributes

bool _enabled
int _timeout

Detailed Description

Definition at line 31 of file taskbarnotificationbackend.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 53 of file taskbarnotificationbackend.cpp.

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 71 of file taskbarnotificationbackend.cpp.

void enabledChanged ( const QVariant &  v)
privateslot

Definition at line 59 of file taskbarnotificationbackend.cpp.

References _enabled.

Referenced by TaskbarNotificationBackend().

void timeoutChanged ( const QVariant &  v)
privateslot

Definition at line 65 of file taskbarnotificationbackend.cpp.

References _timeout.

Referenced by TaskbarNotificationBackend().

Member Data Documentation

bool _enabled
private

Definition at line 47 of file taskbarnotificationbackend.h.

Referenced by enabledChanged(), notify(), and TaskbarNotificationBackend().

int _timeout
private

Definition at line 50 of file taskbarnotificationbackend.h.

Referenced by notify(), TaskbarNotificationBackend(), and timeoutChanged().


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