MCPcopy Create free account
hub / github.com/KDE/kdevelop / rowsInserted

Method rowsInserted

plugins/projectmanagerview/projecttreeview.cpp:414–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414void ProjectTreeView::rowsInserted( const QModelIndex& parent, int start, int end )
415{
416 QTreeView::rowsInserted( parent, start, end );
417
418 if ( !parent.model() ) {
419 const auto& projects = selectedProjects();
420 for (const auto& project: projects) {
421 restoreState( project->project() );
422 }
423 }
424}
425
426void ProjectTreeView::rowsAboutToBeRemoved( const QModelIndex& parent, int start, int end )
427{

Callers

nothing calls this directly

Calls 2

modelMethod · 0.45
projectMethod · 0.45

Tested by

no test coverage detected