<table><tr><td style="">antonanikin retitled this revision from "Add IProblem::setPluginName() method" to "Add KDevelop::PluginProblem class".<br />antonanikin edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-rvzhi7ker6powxe/" rel="noreferrer">(Show Details)</a><br />antonanikin edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-vcoolhh7fp3r3j2/" rel="noreferrer">(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/D4883" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">The patch <span style="padding: 0 2px; color: #333333; background: #f8cbcb;">provides mechanism for setting custom plugin name for `DetectedProblem` instances. Old version always return generic `i18n("Plugin")` value form `sourceString()`, which leads to necessity to create problem sublasses which only overloads single `sourceString()` method</span><span style="padding: 0 2px; color: #333333; background: #a6f3a6;">adds new class `KDevelop::PluginProblem` which allows to avoid create subclasses of `KDevelop::DetectedProblem` with only overloaded `source()` and `sourceString()` methods for every plugin (cppcheck/valgrind for example)</span>.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Tested with master branch and <span style="padding: 0 2px; color: #333333; background: #f8cbcb;">kdev-</span><span style="padding: 0 2px; color: #333333; background: #a6f3a6;">cppcheck/</span>valgrind plugin<span style="padding: 0 2px; color: #333333; background: #a6f3a6;">s</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4883" rel="noreferrer">https://phabricator.kde.org/D4883</a></div></div><br /><div><strong>To: </strong>antonanikin, mwolff, KDevelop<br /><strong>Cc: </strong>mwolff, kdevelop-devel<br /></div>