<table><tr><td style="">nicolasfella retitled this revision from "Add member for editbookmarks action" to "Decouple KBookmarksMenu from KActionCollection".<br />nicolasfella edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-rm3udrwqncusnyf/">(Show Details)</a><br />nicolasfella edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-7xef7cdzqhokrrv/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25660">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">First step towards getting rid of KActionCollection dependency.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">The usage of KActionCollection makes KBookmarks depend on KXMLGui. To allow to get rid of this rather heavy dependency for KF6 a new constructor is introduced that does not take a KActionCollection. Instead apps that use KBookmarksMenu and KXMLGui are encouraged to manually add the relevant actions to their action collection. It's not pretty, but better than depending on KXMLGui,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Save the action in a member variable so we can expose it in the API so clients can add it int their action collection</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">especially given that KIO depends on KBookmarks and thus on KXMLGui.</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">Action still shows up in shortcut editor in Dolphin</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Tested with patched Dolphin (new constructor is used) and unpatched Konsole.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R294 KBookmarks</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25660">https://phabricator.kde.org/D25660</a></div></div><br /><div><strong>To: </strong>nicolasfella, Frameworks<br /><strong>Cc: </strong>apol, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>