D20417: Add invokable public API for emitting contextualActionsAboutToShow
David Edmundson
noreply at phabricator.kde.org
Tue Apr 9 22:16:32 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
This signal is emitted just before showing the context menu to allow
lazy-loading expensive actions like hasAlternatives.
This emitted by our code whenever we show a context menu from an event
filter, however we want to use this code from a tooltip in D17410 <https://phabricator.kde.org/D17410>
TEST PLAN
Hovered over some applets, they correctly enabled/disabled the
alternatives button
REPOSITORY
R242 Plasma Framework (Library)
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D20417
AFFECTED FILES
src/scriptengines/qml/plasmoid/appletinterface.cpp
src/scriptengines/qml/plasmoid/appletinterface.h
To: davidedmundson, #plasma
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190409/390c1b13/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list