MCPcopy Create free account
hub / github.com/cxasm/notepad-- / syncFileTabToListView

Method syncFileTabToListView

src/cceditor/ccnotepad.cpp:5091–5104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5089}
5090
5091void CCNotePad::syncFileTabToListView()
5092{
5093 if (m_dockFileListWin.isNull())
5094 {
5095 return;
5096 }
5097
5098 for (int i = 0; i < ui.editTabWidget->count(); ++i)
5099 {
5100 QWidget* pw = ui.editTabWidget->widget(i);
5101 QString filePath = getFilePathProperty(pw);
5102 m_fileListView->addFileItem(filePath,pw);
5103 }
5104}
5105
5106void CCNotePad::fileListSetCurItem(QString filePath)
5107{

Callers

nothing calls this directly

Calls 2

getFilePathPropertyFunction · 0.85
addFileItemMethod · 0.80

Tested by

no test coverage detected