My Project
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Properties Macros
unity::shell::notifications::ModelInterface Class Reference

A list of notifications to be displayed. More...

#include <unity/shell/notifications/ModelInterface.h>

Inheritance diagram for unity::shell::notifications::ModelInterface:
Collaboration diagram for unity::shell::notifications::ModelInterface:

Signals

void confirmationPlaceholderChanged (bool confirmationPlaceholder)
 

Properties

bool confirmationPlaceholder
 Whether a placeholder for confirmation should be kept at the beginning. More...
 

Detailed Description

A list of notifications to be displayed.

This model exposes all the notifications that are currently supposed to be on screen. Not all of them might actually get on screen due to screen size, in which case the NotificationInterface::displayed() signal will only be emitted after the notification was actually displayed.

Member Function Documentation

void unity::shell::notifications::ModelInterface::confirmationPlaceholderChanged ( bool  confirmationPlaceholder)
signal

Emitted when value of the confirmationPlaceholder property has changed.

Parameters
confirmationPlaceholderNew value of the confirmationPlaceholder property.

Property Documentation

bool unity::shell::notifications::ModelInterface::confirmationPlaceholder
readwrite

Whether a placeholder for confirmation should be kept at the beginning.

When this is true, the model should hold a Placeholder type notification at the top and update its data when an incoming Confirmation type notification is sent.

Accessors:
confirmationPlaceholder(), setConfirmationPlaceholder(bool confirmationPlaceholder)
Notifier:
confirmationPlaceholderChanged(bool confirmationPlaceholder)

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