MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / insertRows

Method insertRows

tools/monitor/MonitorDataModel.cpp:290–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290bool
291MonitorDataModel::insertRows(
292 int row,
293 int count,
294 const QModelIndex& parent
295)
296{
297 bool success;
298
299 beginInsertRows( parent, row, row+count-1);
300 success = this->getNode( parent)->insertChildren(
301 row,
302 count,
303 this->root_->width()
304 );
305 endInsertRows();
306
307 emit layoutChanged();
308
309 return success;
310}
311
312bool
313MonitorDataModel::removeRows(

Callers 1

addDataMethod · 0.95

Calls 3

getNodeMethod · 0.95
insertChildrenMethod · 0.80
widthMethod · 0.80

Tested by

no test coverage detected