<table><tr><td style="">dfaure added a comment.
</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/D20209">View Revision</a></tr></table><br /><div><div><p>Urgh. Indeed. And looking around I find many inline virtuals in apparently public headers... <a href="http://www.davidfaure.fr/2019/inline_virtual_dtors.diff" class="remarkup-link" target="_blank" rel="noreferrer">http://www.davidfaure.fr/2019/inline_virtual_dtors.diff</a> (though maybe some of these don't have d pointers at all...)</p>

<p>About KBookmarkOwner, the lack of an explicit constructor is a problem too (apps wouldn't instanciate the d pointer). I just added TODO KF6 comments, for the next person in your position: <a href="https://commits.kde.org/kbookmarks/746ecc8db9a04e4d47adc62b0aa03733ca8ecdf8" class="remarkup-link" target="_blank" rel="noreferrer">https://commits.kde.org/kbookmarks/746ecc8db9a04e4d47adc62b0aa03733ca8ecdf8</a></p>

<p>Meanwhile we have to find another way. Would my idea of adding methods to KBookmarkMenu work out?</p></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/D20209">https://phabricator.kde.org/D20209</a></div></div><br /><div><strong>To: </strong>hallas, Frameworks, ngraham, cfeck, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>