MCPcopy Create free account
hub / github.com/KDE/kdevelop / GetLocalPatchSource

Method GetLocalPatchSource

plugins/patchreview/patchreviewtoolview.cpp:148–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148LocalPatchSource* PatchReviewToolView::GetLocalPatchSource() {
149 IPatchSource::Ptr ips = m_plugin->patch();
150
151 if ( !ips )
152 return nullptr;
153 return qobject_cast<LocalPatchSource*>(ips.data());
154}
155
156void PatchReviewToolView::fillEditFromPatch() {
157 IPatchSource::Ptr ipatch = m_plugin->patch();

Callers

nothing calls this directly

Calls 2

patchMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected