MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / setProjectInfo

Method setProjectInfo

src/plugins/filebrowser/mainframe/filetreeview.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void FileTreeView::setProjectInfo(const dpfservice::ProjectInfo &proInfo)
63{
64 d->proInfo = proInfo;
65 d->model->setRootPath(proInfo.workspaceFolder());
66 auto index = d->model->index(d->proInfo.workspaceFolder());
67 setRootIndex(index);
68 sortByColumn(0, Qt::SortOrder::AscendingOrder);
69 emit rootPathChanged(proInfo.workspaceFolder());
70}
71
72void FileTreeView::selOpen()
73{

Callers

nothing calls this directly

Calls 2

setRootPathMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected