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

Function openSession

app/plasma/kdevelopsessionswatch/kdevelopsessionswatch.cpp:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void openSession(const QString& sessionId)
27{
28 const QStringList args {
29 QStringLiteral("--open-session"),
30 sessionId,
31 };
32 auto *job = new KIO::CommandLauncherJob(QStringLiteral("kdevelop"), args);
33 job->setDesktopName(QStringLiteral("org.kde.kdevelop"));
34 job->start();
35}
36
37}

Callers 2

runMethod · 0.85
openSessionMethod · 0.85

Calls 1

startMethod · 0.45

Tested by

no test coverage detected