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

Method getFileSystemItem

Engine/FileSystemModel.cpp:795–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

793}
794
795boost::shared_ptr<FileSystemItem>
796FileSystemModel::getFileSystemItem(const QString& path) const
797{
798 if ( !path.isEmpty() ) {
799 return _imp->getItemFromPath(path);
800 }
801
802 return _imp->rootItem;
803}
804
805FileSystemItem*
806FileSystemModel::getFileSystemItem(const QModelIndex& index) const

Callers 4

onSelectionChangedMethod · 0.80
updateViewMethod · 0.80
paintMethod · 0.80
selectedFilesMethod · 0.80

Calls 2

getItemFromPathMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected