D22765: Docs: fix bad example code
Adriaan de Groot
noreply at phabricator.kde.org
Fri Jul 26 16:15:34 BST 2019
adridg created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
adridg requested review of this revision.
REVISION SUMMARY
- setupBindings() doesn't take an engine parameter
- setupBindings() is deprecated and suggests to call setupContext() instead, although you need to setup the engine as well **and** tell KDeclarative to use that engine.
TEST PLAN
- the previous example code wouldn't compile
REPOSITORY
R296 KDeclarative
BRANCH
fix-apidocs
REVISION DETAIL
https://phabricator.kde.org/D22765
AFFECTED FILES
README.md
To: adridg
Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190726/e25f3d99/attachment.html>
More information about the Kde-frameworks-devel
mailing list