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

Method urls

kdevplatform/project/projectutils.cpp:19–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19QList<QUrl> ProjectItemContextImpl::urls() const
20{
21 QList<QUrl> urls;
22 const auto items = this->items();
23 for (const auto& item : items) {
24 const auto url = item->path().toUrl();
25 if (url.isValid()) {
26 urls << url;
27 }
28 }
29 return urls;
30}
31
32/**
33 * Runs the @p callback on all files that have @p projectItem as ancestor

Callers

nothing calls this directly

Calls 4

itemsMethod · 0.45
toUrlMethod · 0.45
pathMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected