<table><tr><td style="">rjvbb updated this revision to Diff 20575.<br />rjvbb 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/D8211" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Updated patch which drops the callback in favour of a virtual StandardDocumentationView::loadResource() method that can be overridden (e.g. by QtHelpDocumentationView::loadResource()).</p>
<p>In addition this revision splits out the QTextBrowser implementation from standarddocumentationview.cpp into standarddocumentationview_qtb.cpp and divides the former file into a section with shared code and a section with the WebKit/WebEngine code. Evidently that part could go into its own file too.</p>
<p>I tested the build using WebKit as the backend with and without my patch (not with the very latest version) and didn't notice any difference. I do notice that it won't follow most (if not all) links in the documentation (also without my patch), is there something wrong with my build there?</p></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D8211?vs=20536&id=20575" rel="noreferrer">https://phabricator.kde.org/D8211?vs=20536&id=20575</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8211" rel="noreferrer">https://phabricator.kde.org/D8211</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/documentation/CMakeLists.txt<br />
kdevplatform/documentation/standarddocumentationview.cpp<br />
kdevplatform/documentation/standarddocumentationview.h<br />
kdevplatform/documentation/standarddocumentationview_p.h<br />
kdevplatform/documentation/standarddocumentationview_qtb.cpp<br />
plugins/qthelp/CMakeLists.txt<br />
plugins/qthelp/qthelpdocumentation.cpp<br />
plugins/qthelp/qthelpdocumentation.h<br />
plugins/qthelp/tests/CMakeLists.txt</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop<br /><strong>Cc: </strong>flherne, arichardson, apol, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>