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

Function generateChildAbsoluteName

Engine/FileSystemModel.cpp:156–168  ·  view source on GitHub ↗

////FileSystemItem

Source from the content-addressed store, hash-verified

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

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