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

Method insertRows

src/devicepathproxymodel.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61auto DevicePathProxyModel::insertRows(int row, int count, const QModelIndex &parent) -> bool
62{
63 beginInsertRows(parent, row, row + count - 1);
64 for(int c = 0; c < count; ++c)
65 boot_entry_list_model->insertEntryFilePath(boot_entry_index, row + c, {});
66
67 endInsertRows();
68 return true;
69}
70
71auto DevicePathProxyModel::removeRows(int row, int count, const QModelIndex &parent) -> bool
72{

Callers

nothing calls this directly

Calls 1

insertEntryFilePathMethod · 0.80

Tested by

no test coverage detected