MCPcopy Create free account
hub / github.com/Sonic-DE/sonic-win / setCurrentActivity

Method setCurrentActivity

src/scripting/workspace_wrapper.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void WorkspaceWrapper::setCurrentActivity(const QString &activity)
93{
94#if KWIN_BUILD_ACTIVITIES
95 if (Workspace::self()->activities()) {
96 Workspace::self()->activities()->setCurrent(activity, nullptr);
97 }
98#endif
99}
100
101QStringList WorkspaceWrapper::activityList() const
102{

Callers 1

setCurrentMethod · 0.80

Calls 3

selfFunction · 0.85
activitiesMethod · 0.45
setCurrentMethod · 0.45

Tested by

no test coverage detected