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

Method restoreState

plugins/projectmanagerview/projecttreeview.cpp:400–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void ProjectTreeView::restoreState( IProject* project )
401{
402 if ( !project ) {
403 return;
404 }
405
406 KConfigGroup configGroup( ICore::self()->activeSession()->config(),
407 settingsConfigGroup() + project->name() );
408 ProjectModelSaver saver;
409 saver.setProject( project );
410 saver.setView( this );
411 saver.restoreState( configGroup );
412}
413
414void ProjectTreeView::rowsInserted( const QModelIndex& parent, int start, int end )
415{

Callers 3

ProjectManagerViewMethod · 0.80
DisassembleWidgetMethod · 0.80

Calls 6

settingsConfigGroupFunction · 0.85
setViewMethod · 0.80
configMethod · 0.45
activeSessionMethod · 0.45
nameMethod · 0.45
setProjectMethod · 0.45

Tested by

no test coverage detected