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

Method absolutePath

Engine/FileSystemModel.cpp:877–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875}
876
877QString
878FileSystemModel::absolutePath(const QModelIndex &index) const
879{
880 if ( !index.isValid() ) {
881 return QString();
882 }
883 FileSystemItem *item = getFileSystemItem(index);
884
885 if ( item && ( item != _imp->rootItem.get() ) ) {
886 return item->absoluteFilePath();
887 }
888
889 return QString();
890}
891
892QString
893FileSystemModel::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.70
isValidMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected