MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / generateChildAbsoluteName

Function generateChildAbsoluteName

Engine/FileSystemModel.cpp:161–173  ·  view source on GitHub ↗

////FileSystemItem

Source from the content-addressed store, hash-verified

159
160/////////FileSystemItem
161static QString
162generateChildAbsoluteName(FileSystemItem* parent,
163 const QString& name)
164{
165 QString childName = parent->absoluteFilePath();
166
167 if ( !childName.endsWith( QChar::fromLatin1('/') ) ) {
168 childName.append( QChar::fromLatin1('/') );
169 }
170 childName.append(name);
171
172 return childName;
173}
174
175struct FileSystemItemPrivate
176{

Callers 5

FileSystemItemPrivateMethod · 0.85
Q_FOREACHFunction · 0.85
mkPathInternalMethod · 0.85
mkdirMethod · 0.85
gatheringKernelMethod · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected