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

Method searchPathsList

plugins/grepview/grepdialog.cpp:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 return m_config.readEntry("case_sens", true);
161 }
162 QStringList searchPathsList(const GrepViewPlugin& plugin) const
163 {
164 const bool isAnyProjectOpen = plugin.core()->projectController()->projectCount() != 0;
165 return m_config.readEntry("SearchPaths",
166 QStringList{isAnyProjectOpen ? allOpenProjectsString() : QDir::homePath()});
167 }
168 int depth() const
169 {
170 return m_config.readEntry("depth", -1);

Callers 2

GrepDialogMethod · 0.80
setLastUsedSettingsMethod · 0.80

Calls 5

allOpenProjectsStringFunction · 0.85
projectCountMethod · 0.80
projectControllerMethod · 0.80
readEntryMethod · 0.80
coreMethod · 0.45

Tested by

no test coverage detected