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

Method absolutePath

Engine/FileSystemModel.cpp:838–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

836}
837
838QString
839FileSystemModel::absolutePath(const QModelIndex &index) const
840{
841 if ( !index.isValid() ) {
842 return QString();
843 }
844 FileSystemItem *item = getFileSystemItem(index);
845
846 if ( item && ( item != _imp->rootItem.get() ) ) {
847 return item->absoluteFilePath();
848 }
849
850 return QString();
851}
852
853QString
854FileSystemModel::rootPath() const

Callers 15

exportDocsMethod · 0.80
setFilterMethod · 0.80
onWatchedFileChangedMethod · 0.80
restoreMethod · 0.80
Q_FOREACHFunction · 0.80
addToPythonPathFunctorFunction · 0.80
loadOFXPluginsMethod · 0.80
parentFolderMethod · 0.80
createDirMethod · 0.80
addFavoriteMethod · 0.80

Calls 3

QStringClass · 0.85
isValidMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected