Home · All Namespaces · All Classes
Signals | Public Member Functions

NotificationArea Class Reference

#include <notificationarea.h>

Collaboration diagram for NotificationArea:
Collaboration graph
[legend]

List of all members.

Signals

void notificationRemovalRequested (uint notificationId)
void notificationGroupClearingRequested (uint groupId)
void bannerClicked ()
 A signal that is emitted whenever an event banner on the notification area is clicked.

Public Member Functions

 NotificationArea (QGraphicsItem *parent=NULL, bool notificationsClickable=true)
virtual ~NotificationArea ()
void setHonorPrivacySetting (bool honor)
void setNotificationManagerInterface (NotificationManagerInterface &notificationManagerInterface)

Detailed Description

The NotificationArea is a widget that shows notifications.


Constructor & Destructor Documentation

NotificationArea::NotificationArea ( QGraphicsItem *  parent = NULL,
bool  notificationsClickable = true 
)

Constructs a NotificationArea widget.

Parameters:
parent the parent widget of the NotificationArea, defaults to NULL
NotificationArea::~NotificationArea (  )  [virtual]

Destroys the NotificationArea.


Member Function Documentation

void NotificationArea::bannerClicked (  )  [signal]

A signal that is emitted whenever an event banner on the notification area is clicked.

void NotificationArea::notificationGroupClearingRequested ( uint  groupId  )  [signal]

Requests removal of notifications in a group.

Parameters:
groupId Id of the group to be cleared.
void NotificationArea::notificationRemovalRequested ( uint  notificationId  )  [signal]

Requests removal of a notification from the notification system.

Parameters:
notificationId Id of the notification to be removed from the system.
void NotificationArea::setHonorPrivacySetting ( bool  honor  ) 

Controls whether the notification banners on this area should only show a generic text instead of the full notification text if the /desktop/meego/privacy/private_lockscreen_notifications GConf key is set to true. If the GConf key is not honored the private mode is never used.

Parameters:
honor if true, privacy setting is honored. If false, the privacy setting is ignored.
void NotificationArea::setNotificationManagerInterface ( NotificationManagerInterface notificationManagerInterface  ) 

Sets the notification manager to be used by this area.

Parameters:
notificationManagerInterface the notification manager interface to be used by this area

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

Copyright © 2011 Nokia Corporation Generated on Tue Aug 30 2011 16:38:13
Doxygen 1.7.1
MeeGo Touch