Changeset View
Changeset View
Standalone View
Standalone View
src/Platforms/PlatformKWinWayland.h
Show All 32 Lines | 27 | { | |||
---|---|---|---|---|---|
33 | virtual ~PlatformKWinWayland() = default; | 33 | virtual ~PlatformKWinWayland() = default; | ||
34 | 34 | | |||
35 | QString platformName() const override final; | 35 | QString platformName() const override final; | ||
36 | GrabModes supportedGrabModes() const override final; | 36 | GrabModes supportedGrabModes() const override final; | ||
37 | ShutterModes supportedShutterModes() const override final; | 37 | ShutterModes supportedShutterModes() const override final; | ||
38 | 38 | | |||
39 | public Q_SLOTS: | 39 | public Q_SLOTS: | ||
40 | 40 | | |||
41 | void doGrab(ShutterMode theShutterMode, GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; | 41 | void doGrab(Platform::ShutterMode theShutterMode, Platform::GrabMode theGrabMode, bool theIncludePointer, bool theIncludeDecorations) override final; | ||
42 | 42 | | |||
43 | private: | 43 | private: | ||
44 | 44 | | |||
45 | void startReadImage(int theReadPipe); | 45 | void startReadImage(int theReadPipe); | ||
46 | template <typename ArgType> void doGrabHelper(const QString &theGrabMethod, ArgType theArgument); | 46 | template <typename ArgType> void doGrabHelper(const QString &theGrabMethod, ArgType theArgument); | ||
47 | template <typename ArgType> void callDBus(const QString &theGrabMethod, ArgType theArgument, int theWriteFile); | 47 | template <typename ArgType> void callDBus(const QString &theGrabMethod, ArgType theArgument, int theWriteFile); | ||
48 | }; | 48 | }; |