davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. davidedmundson requested review of this revision.
REVISION SUMMARY Plasma applets when they were all C++ had a way for them to signal when they were ready for showing to the user. The QtQuick plugin does it automatically when an applet is compiled and the component is created with no scope for the applet to do something async. This is initially intended just for the desktop wallpaper, but is generic enough for any applet/containment that does async loading on startup. API is chosen as we need something ref-count based to handle wallpaper and containment both loading something asynchronous, and limited by the fact that AppletInterface is not exported. TEST PLAN qDebug REPOSITORY R242 Plasma Framework (Library) BRANCH master REVISION DETAIL https://phabricator.kde.org/D21618 AFFECTED FILES src/scriptengines/qml/plasmoid/appletinterface.cpp src/scriptengines/qml/plasmoid/appletinterface.h src/scriptengines/qml/plasmoid/wallpaperinterface.cpp src/scriptengines/qml/plasmoid/wallpaperinterface.h To: davidedmundson, #plasma Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns