Changeset View
Changeset View
Standalone View
Standalone View
src/SpectacleDBusAdapter.cpp
Show All 34 Lines | |||||
35 | 35 | | |||
36 | Q_NOREPLY void SpectacleDBusAdapter::StartAgent() | 36 | Q_NOREPLY void SpectacleDBusAdapter::StartAgent() | ||
37 | { | 37 | { | ||
38 | parent()->dbusStartAgent(); | 38 | parent()->dbusStartAgent(); | ||
39 | } | 39 | } | ||
40 | 40 | | |||
41 | Q_NOREPLY void SpectacleDBusAdapter::FullScreen(bool includeMousePointer) | 41 | Q_NOREPLY void SpectacleDBusAdapter::FullScreen(bool includeMousePointer) | ||
42 | { | 42 | { | ||
43 | parent()->takeNewScreenshot(Spectacle::CaptureMode::AllScreens, 0, includeMousePointer, true); | 43 | parent()->takeNewScreenshot(Spectacle::CaptureMode::EntireScreen, 0, includeMousePointer, true); | ||
44 | } | 44 | } | ||
45 | 45 | | |||
46 | Q_NOREPLY void SpectacleDBusAdapter::CurrentScreen(bool includeMousePointer) | 46 | Q_NOREPLY void SpectacleDBusAdapter::CurrentScreen(bool includeMousePointer) | ||
47 | { | 47 | { | ||
48 | parent()->takeNewScreenshot(Spectacle::CaptureMode::CurrentScreen, 0, includeMousePointer, true); | 48 | parent()->takeNewScreenshot(Spectacle::CaptureMode::CurrentScreen, 0, includeMousePointer, true); | ||
49 | } | 49 | } | ||
50 | 50 | | |||
51 | Q_NOREPLY void SpectacleDBusAdapter::ActiveWindow(bool includeWindowDecorations, bool includeMousePointer) | 51 | Q_NOREPLY void SpectacleDBusAdapter::ActiveWindow(bool includeWindowDecorations, bool includeMousePointer) | ||
Show All 13 Lines |