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

Method visit

plugins/execute/projecttargetscombobox.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 explicit ExecutablePathsVisitor(bool exec) : m_onlyExecutables(exec) {}
30 using ProjectVisitor::visit;
31 void visit(ProjectExecutableTargetItem* eit) override {
32 if(!m_onlyExecutables || eit->type()==ProjectTargetItem::ExecutableTarget)
33 m_paths += KDevelop::joinWithEscaping(eit->model()->pathFromIndex(eit->index()), QLatin1Char('/'), QLatin1Char('\\'));
34 }
35
36 QStringList paths() const { return m_paths; }
37

Callers 1

setBaseItemMethod · 0.45

Calls 5

joinWithEscapingFunction · 0.85
typeMethod · 0.45
pathFromIndexMethod · 0.45
modelMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected