MCPcopy Create free account
hub / github.com/Neverous/efibooteditor / removeRows

Method removeRows

src/devicepathproxymodel.cpp:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71auto DevicePathProxyModel::removeRows(int row, int count, const QModelIndex &parent) -> bool
72{
73 beginRemoveRows(parent, row, row + count - 1);
74 for(int c = 0; c < count; ++c)
75 boot_entry_list_model->removeEntryFilePath(boot_entry_index, row + count - 1 - c);
76
77 endRemoveRows();
78 return true;
79}
80
81auto DevicePathProxyModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) -> bool
82{

Callers

nothing calls this directly

Calls 1

removeEntryFilePathMethod · 0.80

Tested by

no test coverage detected