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

Method importTopItem

kdevplatform/shell/project.cpp:393–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 }
392
393 bool importTopItem(IProjectFileManager* fileManager)
394 {
395 if (!fileManager)
396 {
397 return false;
398 }
399 topItem = fileManager->import( project );
400 if( !topItem )
401 {
402 auto* message = new Sublime::Message(i18n("Could not open project."), Sublime::Message::Error);
403 ICore::self()->uiController()->postMessage(message);
404 return false;
405 }
406
407 return true;
408 }
409
410};
411

Callers 2

reloadModelMethod · 0.80
openMethod · 0.80

Calls 3

uiControllerMethod · 0.80
importMethod · 0.45
postMessageMethod · 0.45

Tested by

no test coverage detected