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

Method RuntimeController

kdevplatform/shell/runtimecontroller.cpp:59–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57};
58
59KDevelop::RuntimeController::RuntimeController(KDevelop::Core* core)
60 : m_core(core)
61 , m_group(new QActionGroup(this))
62{
63 const bool haveUI = (core->setupFlags() != Core::NoUi);
64 if (haveUI) {
65 m_runtimesMenu.reset(new QMenu());
66 }
67
68 addRuntimes(new IdentityRuntime);
69 setCurrentRuntime(m_runtimes.first());
70
71 if (haveUI) {
72 setupActions();
73 }
74}
75
76KDevelop::RuntimeController::~RuntimeController()
77{

Callers

nothing calls this directly

Calls 3

setupFlagsMethod · 0.80
resetMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected