diff --git a/src/plasma/corona.h b/src/plasma/corona.h --- a/src/plasma/corona.h +++ b/src/plasma/corona.h @@ -314,6 +314,16 @@ */ 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. diff --git a/src/plasma/corona.cpp b/src/plasma/corona.cpp --- a/src/plasma/corona.cpp +++ b/src/plasma/corona.cpp @@ -267,6 +267,11 @@ return -1; } +int Corona::screenIdForName(const QString &name) const +{ + return -1; +} + int Corona::numScreens() const { return 1;