Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDE/kdeconnect-kde
/ EmitActive
Method
EmitActive
plugins/virtualmonitor/virtualmonitorplugin.cpp:34–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
{
33
public:
34
EmitActive(VirtualMonitorPlugin *p)
35
: p(p)
36
, wasActive(p->active())
37
{
38
if (!s_outmost) {
39
s_outmost = this;
40
isOutmost = true;
41
} else {
42
isOutmost = false;
43
}
44
}
45
~EmitActive()
46
{
47
if (isOutmost) {
Callers
nothing calls this directly
Calls
1
active
Method · 0.80
Tested by
no test coverage detected