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

Method documentationForIndex

plugins/manpage/manpageplugin.cpp:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142IDocumentation::Ptr ManPagePlugin::documentationForIndex(const QModelIndex& index) const
143{
144 QString name = index.data().toString();
145 return IDocumentation::Ptr(new ManPageDocumentation(name, QUrl(QLatin1String("man:")+name)));
146}
147
148IDocumentation::Ptr ManPagePlugin::homePage() const
149{

Callers 1

changedSelectionMethod · 0.45

Calls 3

QUrlClass · 0.50
toStringMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected