MCPcopy Create free account
hub / github.com/KDE/kwin / currentActivity

Method currentActivity

src/effect/effecthandler.cpp:830–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

828}
829
830QString EffectsHandler::currentActivity() const
831{
832#if KWIN_BUILD_ACTIVITIES
833 if (!Workspace::self()->activities()) {
834 return QString();
835 }
836 return Workspace::self()->activities()->current();
837#else
838 return QString();
839#endif
840}
841
842VirtualDesktop *EffectsHandler::currentDesktop(LogicalOutput *output) const
843{

Callers 1

isOnCurrentActivityMethod · 0.45

Calls 4

selfFunction · 0.85
QStringClass · 0.85
activitiesMethod · 0.45
currentMethod · 0.45

Tested by

no test coverage detected