Add signals indicating if a screen was added or removed

Subscribers: #frameworks

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D8566
This commit is contained in:
Andras Mantia 2017-10-31 12:58:07 +02:00
parent 9ea4774050
commit eab0378735

View File

@ -314,6 +314,16 @@ Q_SIGNALS:
*/
void immutabilityChanged(Plasma::Types::ImmutabilityType immutability);
/** This signal indicates the screen with the specified id was removed.
* @since 5.40
*/
void screenRemoved(int id);
/** This signal indicates a new screen with the specified id was added.
* @since 5.40
*/
void screenAdded(int id);
#ifndef PLASMA_NO_DEPRECATED
/**
* Emitted when the package for this corona has been changed.