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

Method annotationLine

kdevplatform/vcs/models/vcsannotationmodel.cpp:176–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176VcsAnnotationLine VcsAnnotationModel::annotationLine(int line) const
177{
178 Q_D(const VcsAnnotationModel);
179
180 if (line < 0 || !d->m_annotation.containsLine(line)) {
181 return VcsAnnotationLine();
182 }
183
184 return d->m_annotation.line(line);
185}
186
187}
188

Callers 1

paintMethod · 0.80

Calls 3

containsLineMethod · 0.80
VcsAnnotationLineClass · 0.70
lineMethod · 0.45

Tested by

no test coverage detected