#include <mcompositornotificationsink.h>
List of all members.
Detailed Description
MCompositorNotificationSink implements the NotificationSink interface for displaying notifications on top of other applications.
Notification is displayed for a certain time after which it is hidden.
Constructor & Destructor Documentation
MCompositorNotificationSink::MCompositorNotificationSink |
( |
|
) |
|
MCompositorNotificationSink::~MCompositorNotificationSink |
( |
|
) |
[virtual] |
Member Function Documentation
void MCompositorNotificationSink::notificationAdded |
( |
const Notification & |
notification |
) |
[signal] |
Transfers a notification to another sink.
- Parameters:
-
| notification | the notification to be presented |
void MCompositorNotificationSink::setApplicationEventsDisabled |
( |
bool |
disabled |
) |
|
Disables or enables the sink for application event notifications, when disabled, they are just transferred.
- Parameters:
-
| disabled | if true, the sink is disabled, otherwise it's enabled |
void MCompositorNotificationSink::setTouchScreenLockActive |
( |
bool |
active |
) |
[slot] |
Sets the touch screen lock active state so notifications can be enabled/disabled based on that.
- Parameters:
-
| active | true if the touch screen lock is active, false otherwise |
The documentation for this class was generated from the following files: