MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / getPaths

Function getPaths

gui/projectfiledialog.cpp:72–81  ·  view source on GitHub ↗

Return paths from QListWidget */

Source from the content-addressed store, hash-verified

70
71/** Return paths from QListWidget */
72static QStringList getPaths(const QListWidget *list)
73{
74 const int count = list->count();
75 QStringList paths;
76 for (int i = 0; i < count; i++) {
77 QListWidgetItem *item = list->item(i);
78 paths << QDir::fromNativeSeparators(item->text());
79 }
80 return paths;
81}
82
83/** Platforms shown in the platform combobox */
84static const std::array<Platform::Type, 6> builtinPlatforms = {

Callers 3

getIncludePathsMethod · 0.85
getCheckPathsMethod · 0.85
getExcludedPathsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected