D21618: Allow QtQuick applets and wallpapers to defer UiReadyConstraint

David Edmundson noreply at phabricator.kde.org
Thu Jun 6 14:06:49 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190606/c6eda082/attachment.html>


More information about the Kde-frameworks-devel mailing list