MCPcopy Create free account
hub / github.com/comaps/comaps / JoinPathQt

Function JoinPathQt

qt/build_style/build_common.cpp:75–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75QString JoinPathQt(std::initializer_list<QString> folders)
76{
77 QString result;
78 bool firstInserted = false;
79 for (auto it = folders.begin(); it != folders.end(); ++it)
80 {
81 if (it->isEmpty() || *it == QDir::separator())
82 continue;
83
84 if (firstInserted)
85 result.append(QDir::separator());
86
87 result.append(*it);
88 firstInserted = true;
89 }
90 return QDir::cleanPath(result);
91}
92
93QString GetExternalPath(QString const & name, QString const & primaryPath, QString const & secondaryPath)
94{

Callers 9

OnBuildPhonePackageMethod · 0.85
BuildSkinImplFunction · 0.85
BuildSkinsFunction · 0.85
ApplySkinsFunction · 0.85
CopyFromResourcesFunction · 0.85
CopyToResourcesFunction · 0.85
GetExternalPathFunction · 0.85
BuildDrawingRulesImplFunction · 0.85

Calls 4

beginMethod · 0.45
endMethod · 0.45
isEmptyMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected