MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / removeRows

Method removeRows

Plugins/FileTransfer/ListFileModel.cpp:399–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399bool CListFileModel::removeRows(int row, int count, const QModelIndex &parent)
400{
401 beginRemoveRows(parent, row, row + count - 1);
402#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
403 m_lstFile.remove(row, count);
404#else
405 for(int i = row + count - 1; i >= row && i < m_lstFile.size();) {
406 m_lstFile.removeAt(i--);
407 }
408#endif
409 endRemoveRows();
410 return true;
411}
412
413void CListFileModel::UpdateFileTransfer(QSharedPointer<CFileTransfer> f)
414{

Callers 1

slotDisconnectedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected